Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 107.7 kB / 16.41 MB, free: 6.477 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.001267/0.001267, allocations: 193.6 kB / 17.35 MB, free: 5.75 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.531/1.531, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.003074/1.049, allocations: 0.814 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002406/1.051, allocations: 1.49 MB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/1.051, allocations: 4 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/1.051, allocations: 15.8 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/1.052, allocations: 27.72 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/1.053, allocations: 0.516 MB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008082/1.054, allocations: 0.4954 MB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/1.054, allocations: 53.38 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/1.055, allocations: 179.7 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/1.055, allocations: 175.5 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/1.055, allocations: 44 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/1.055, allocations: 51.98 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/1.055, allocations: 47.89 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/1.056, allocations: 159.5 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006054/1.056, allocations: 406.6 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/1.056, allocations: 4 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/1.056, allocations: 4 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.663e-05/1.056, allocations: 0 / 1.213 GB, free: 9.117 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001061/1.057, allocations: 0.6378 MB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.057, allocations: 8.031 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/1.058, allocations: 32.75 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/1.058, allocations: 269.2 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/1.058, allocations: 24.3 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/1.058, allocations: 32.38 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/1.058, allocations: 157.3 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.058, allocations: 192 / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.058, allocations: 7.875 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/1.058, allocations: 4 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/1.059, allocations: 87.88 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/1.06, allocations: 0.7031 MB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/1.06, allocations: 171.6 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/1.06, allocations: 40.84 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/1.06, allocations: 0 / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/1.06, allocations: 165.2 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.505e-06/1.06, allocations: 0 / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004702/1.061, allocations: 247.7 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/1.061, allocations: 55.41 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/1.061, allocations: 186.6 kB / 1.216 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/1.061, allocations: 45.7 kB / 1.216 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.061, allocations: 132.4 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/1.061, allocations: 35.53 kB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/1.061, allocations: 117.6 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.061, allocations: 326.8 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/1.062, allocations: 155.9 kB / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/1.062, allocations: 241.8 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/1.063, allocations: 402.6 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.063, allocations: 4 kB / 1.217 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009829/1.064, allocations: 0.6225 MB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.064, allocations: 168.5 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.064, allocations: 4 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/1.064, allocations: 7.938 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/1.064, allocations: 7.938 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/1.064, allocations: 4 kB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/1.065, allocations: 136 kB / 1.218 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/1.065, allocations: 35.97 kB / 1.218 GB, free: 3.465 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.000193/1.065, allocations: 157.8 kB / 1.218 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/1.065, allocations: 15.81 kB / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/1.065, allocations: 25.8 kB / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.065, allocations: 0 / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.065, allocations: 3.938 kB / 1.218 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/1.065, allocations: 92.86 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/1.065, allocations: 3.984 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/1.065, allocations: 8.062 kB / 1.218 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/1.065, allocations: 27.97 kB / 1.218 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000303/1.066, allocations: 256.8 kB / 1.218 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003279/1.066, allocations: 360.7 kB / 1.219 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001066/1.066, allocations: 71.95 kB / 1.219 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.276e-05/1.066, allocations: 115.2 kB / 1.219 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of Backend: time 6.61e-07/1.066, allocations: 96 / 1.219 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.067, allocations: 0.6711 MB / 1.22 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009238/1.068, allocations: 0.7511 MB / 1.22 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of Templates: time 0.009507/1.078, allocations: 4.784 MB / 1.225 GB, free: 12.04 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches