Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 107.3 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.89 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.962/0.9641, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.003111/0.9672, allocations: 0.6703 MB / 1.279 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.9694, allocations: 1.219 MB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.9695, allocations: 0 / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.9695, allocations: 3.938 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.9696, allocations: 15.86 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008696/0.9705, allocations: 222.2 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.9708, allocations: 171.7 kB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.9709, allocations: 11.98 kB / 1.281 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.9711, allocations: 63.89 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.9712, allocations: 59.84 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.9713, allocations: 20 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.9714, allocations: 27.98 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.9714, allocations: 11.94 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.9715, allocations: 55.88 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.9718, allocations: 153.4 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9718, allocations: 4 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9718, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.9718, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006546/0.9724, allocations: 434.7 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.9725, allocations: 12.03 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.9725, allocations: 34.75 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.9726, allocations: 16.81 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.9728, allocations: 172.3 kB / 1.282 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.9728, allocations: 12.38 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.9729, allocations: 8.375 kB / 1.282 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.973, allocations: 46.23 kB / 1.282 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.973, allocations: 3.938 kB / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.973, allocations: 0 / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.973, allocations: 4 kB / 1.282 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.831e-05/0.9731, allocations: 12 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.9737, allocations: 356.7 kB / 1.282 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.9737, allocations: 30.56 kB / 1.282 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.9738, allocations: 12.86 kB / 1.282 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.9738, allocations: 4 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.974, allocations: 91.34 kB / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.974, allocations: 0 / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000287/0.9743, allocations: 97.66 kB / 1.282 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.9743, allocations: 55.41 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9744, allocations: 121.7 kB / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/0.9745, allocations: 33.7 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.9746, allocations: 92.12 kB / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.9746, allocations: 11.91 kB / 1.282 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.9747, allocations: 45.69 kB / 1.283 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9749, allocations: 326.8 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.975, allocations: 67.89 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.9752, allocations: 84.27 kB / 1.283 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.9754, allocations: 168 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9755, allocations: 0 / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004833/0.9759, allocations: 272.8 kB / 1.283 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.976, allocations: 67.39 kB / 1.283 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.976, allocations: 0 / 1.283 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.976, allocations: 4 kB / 1.283 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.99e-05/0.976, allocations: 0 / 1.283 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.9761, allocations: 12.06 kB / 1.283 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.9764, allocations: 51.88 kB / 1.284 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.9765, allocations: 11.98 kB / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.9766, allocations: 128 kB / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.9766, allocations: 7.953 kB / 1.284 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.9766, allocations: 12.42 kB / 1.284 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9766, allocations: 7.984 kB / 1.284 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.9766, allocations: 0 / 1.284 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.9766, allocations: 4 kB / 1.284 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.9768, allocations: 173.6 kB / 1.284 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9768, allocations: 0 / 1.284 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.9768, allocations: 4 kB / 1.284 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9768, allocations: 0 / 1.284 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.9768, allocations: 3.984 kB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.9768, allocations: 320 / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9768, allocations: 4 kB / 1.284 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.977, allocations: 120.9 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.9771, allocations: 85.06 kB / 1.284 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.9771, allocations: 0 / 1.284 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.9771, allocations: 0 / 1.284 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.9772, allocations: 7.984 kB / 1.284 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.9772, allocations: 11.94 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.844e-05/0.9772, allocations: 95.2 kB / 1.284 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9772, allocations: 4 kB / 1.284 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002523/0.9775, allocations: 27.94 kB / 1.284 GB, free: 6.898 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005785/0.9781, allocations: 0.6558 MB / 1.285 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.9785, allocations: 222.7 kB / 1.285 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.9785, allocations: 4.25 kB / 1.285 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.9785, allocations: 19.98 kB / 1.285 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.9788, allocations: 17.86 kB / 1.285 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.9812, allocations: 1.721 MB / 1.287 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.9817, allocations: 0.691 MB / 1.287 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.9817, allocations: 4 kB / 1.287 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.9818, allocations: 19.42 kB / 1.287 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.9818, allocations: 0 / 1.287 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/1.012, allocations: 2.902 MB / 1.29 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/9.03, allocations: 7.984 kB / 1.29 GB, free: 0.543 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable or1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! Error: Could not read variable or1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv. Warning: Get data of variable or1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.350854529067874]