Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 114.6 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.852/2.852, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 63.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.165, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00219/1.167, allocations: 0.6507 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00206/1.169, allocations: 1.186 MB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/1.169, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.004e-05/1.169, allocations: 3.938 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/1.17, allocations: 15.84 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/1.171, allocations: 215.1 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004375/1.171, allocations: 187.7 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/1.171, allocations: 7.984 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/1.172, allocations: 67.94 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/1.172, allocations: 67.72 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/1.172, allocations: 19.94 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/1.172, allocations: 27.98 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/1.172, allocations: 12 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/1.172, allocations: 59.81 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/1.173, allocations: 139.7 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.173, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/1.173, allocations: 4 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.173, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 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.0008665/1.173, allocations: 432.5 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/1.173, allocations: 11.97 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/1.174, allocations: 12.84 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/1.174, allocations: 176.3 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.174, allocations: 8.375 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/1.174, allocations: 8.375 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/1.174, allocations: 54.19 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.174, allocations: 192 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/1.174, allocations: 7.922 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.174, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/1.174, allocations: 12 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/1.175, allocations: 348.7 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.044e-05/1.175, allocations: 46.44 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/1.175, allocations: 12.86 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/1.175, allocations: 0 / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/1.175, allocations: 79.47 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/1.175, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002757/1.175, allocations: 109.5 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.175, allocations: 63.39 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/1.175, allocations: 117.8 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/1.176, allocations: 33.7 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/1.176, allocations: 88.05 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/1.176, allocations: 15.89 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.176, allocations: 45.69 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.176, allocations: 322.8 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/1.176, allocations: 63.95 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/1.176, allocations: 91.89 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/1.176, allocations: 159.5 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.176, allocations: 4 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004307/1.177, allocations: 264.8 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/1.177, allocations: 67.39 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.177, allocations: 4 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.177, allocations: 0 / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/1.177, allocations: 4 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.177, allocations: 0 / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/1.177, allocations: 59.91 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/1.177, allocations: 19.92 kB / 1.214 GB, free: 7.949 MB / 0.9356 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.0001323/1.177, allocations: 124 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/1.178, allocations: 8 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/1.178, allocations: 16.36 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.178, allocations: 0 / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.178, allocations: 7.984 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/1.178, allocations: 85.02 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/1.178, allocations: 480 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/1.178, allocations: 3.938 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/1.178, allocations: 7.984 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001556/1.178, allocations: 160.9 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002165/1.178, allocations: 258.7 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.472e-05/1.178, allocations: 27.92 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.136e-05/1.178, allocations: 91.28 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of Backend: time 1.212e-06/1.178, allocations: 0 / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000687/1.179, allocations: 309.1 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007159/1.18, allocations: 0.6044 MB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of Templates: time 0.005471/1.185, allocations: 1.928 MB / 1.217 GB, free: 4.23 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches