Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.363/3.363, allocations: 496 MB / 0.7835 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.14 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4628, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002123/0.4649, allocations: 0.6677 MB / 1.308 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.4668, allocations: 1.194 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.4668, allocations: 4 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.4669, allocations: 3.938 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.4669, allocations: 11.86 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007277/0.4677, allocations: 221.8 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.468, allocations: 171.8 kB / 1.31 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4681, allocations: 7.938 kB / 1.31 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.4682, allocations: 67.94 kB / 1.31 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.4683, allocations: 67.73 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.4684, allocations: 16 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.543e-05/0.4685, allocations: 31.97 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.4685, allocations: 7.938 kB / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.4686, allocations: 55.83 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.4688, allocations: 151.6 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4688, allocations: 4 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4688, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4688, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 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.0005944/0.4694, allocations: 357.5 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4695, allocations: 8.922 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.4695, allocations: 12.89 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4697, allocations: 122.5 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4697, allocations: 4.375 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.4697, allocations: 12.38 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4698, allocations: 54.19 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4698, allocations: 192 / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4699, allocations: 7.922 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4699, allocations: 0 / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.4699, allocations: 12 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.4705, allocations: 327.8 kB / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.4706, allocations: 38.45 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.4706, allocations: 20.94 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.4706, allocations: 0 / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.4708, allocations: 79.36 kB / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.4708, allocations: 0 / 1.311 GB, free: 13.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002762/0.4711, allocations: 105.6 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.4712, allocations: 55.41 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.4713, allocations: 117.8 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.4713, allocations: 33.7 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.4714, allocations: 92.09 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.4714, allocations: 20.27 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.4715, allocations: 49.67 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4717, allocations: 322.8 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.4718, allocations: 51.97 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.472, allocations: 104.2 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.4722, allocations: 159.5 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4722, allocations: 0 / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004644/0.4727, allocations: 268.9 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.4728, allocations: 67.41 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.4728, allocations: 4 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.4728, allocations: 7.984 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.013e-05/0.4728, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4728, allocations: 4 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.4732, allocations: 47.94 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.4732, allocations: 20.08 kB / 1.312 GB, free: 12.34 MB / 1.014 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.0001413/0.4733, allocations: 135.7 kB / 1.312 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.4734, allocations: 11.89 kB / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.4734, allocations: 8.375 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4734, allocations: 0 / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4734, allocations: 0 / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4734, allocations: 0 / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.4736, allocations: 148.7 kB / 1.313 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4736, allocations: 0 / 1.313 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.4736, allocations: 8 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4736, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.4736, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4736, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4736, allocations: 4 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.4737, allocations: 113.3 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.4738, allocations: 4.094 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4738, allocations: 7.922 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.4738, allocations: 11.94 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.4738, allocations: 7.984 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4739, allocations: 4 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.948e-05/0.4739, allocations: 87.28 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4739, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002385/0.4741, allocations: 35.94 kB / 1.313 GB, free: 11.7 MB / 1.014 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.0001666/0.4743, allocations: 103.2 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.4748, allocations: 222.7 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4748, allocations: 0 / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.4748, allocations: 23.97 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4751, allocations: 17.23 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.4755, allocations: 166.7 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4758, allocations: 0.6887 MB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.4759, allocations: 7.984 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.4759, allocations: 11.44 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.4759, allocations: 0 / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of Templates: time 0.005391/0.4813, allocations: 1.866 MB / 1.316 GB, free: 8.535 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.851883936673403]