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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001598/0.001598, allocations: 106.7 kB / 16.41 MB, free: 6.387 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.001679/0.001679, allocations: 187.9 kB / 17.34 MB, free: 5.84 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.618/1.618, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.84 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9888/0.9904, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002459/0.9929, allocations: 0.8196 MB / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.9952, allocations: 1.482 MB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.9954, allocations: 11.94 kB / 1.229 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.9955, allocations: 15.8 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.9957, allocations: 31.72 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.9973, allocations: 0.5233 MB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007888/0.9981, allocations: 0.4915 MB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.9983, allocations: 45.42 kB / 1.23 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.9988, allocations: 191.6 kB / 1.23 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.9993, allocations: 175.5 kB / 1.23 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.9995, allocations: 40 kB / 1.23 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.9997, allocations: 59.92 kB / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.9998, allocations: 39.91 kB / 1.23 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/1, allocations: 159.5 kB / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006118/1.001, allocations: 411.3 kB / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.001, allocations: 0 / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.847e-06/1.001, allocations: 0 / 1.231 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.001, allocations: 3.938 kB / 1.231 GB, free: 9.043 MB / 0.9512 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.0011/1.002, allocations: 0.6553 MB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.002, allocations: 8.031 kB / 1.231 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/1.002, allocations: 32.83 kB / 1.231 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/1.002, allocations: 264.1 kB / 1.232 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/1.002, allocations: 16.38 kB / 1.232 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/1.003, allocations: 32.31 kB / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/1.003, allocations: 149.2 kB / 1.232 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.003, allocations: 192 / 1.232 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/1.003, allocations: 15.92 kB / 1.232 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.003, allocations: 0 / 1.232 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/1.003, allocations: 83.95 kB / 1.232 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/1.004, allocations: 0.7148 MB / 1.233 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/1.004, allocations: 163.7 kB / 1.233 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/1.004, allocations: 52.83 kB / 1.233 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/1.004, allocations: 0 / 1.233 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/1.005, allocations: 151.4 kB / 1.233 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/1.005, allocations: 3.938 kB / 1.233 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0004867/1.005, allocations: 242.8 kB / 1.233 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/1.005, allocations: 59.41 kB / 1.233 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/1.006, allocations: 186.1 kB / 1.233 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/1.006, allocations: 41.7 kB / 1.234 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/1.006, allocations: 128.5 kB / 1.234 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/1.006, allocations: 51.62 kB / 1.234 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/1.006, allocations: 113.6 kB / 1.234 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.006, allocations: 326.8 kB / 1.234 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/1.006, allocations: 151.9 kB / 1.234 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/1.007, allocations: 239.1 kB / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/1.007, allocations: 413.8 kB / 1.235 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.007, allocations: 0 / 1.235 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009983/1.008, allocations: 0.6109 MB / 1.235 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/1.008, allocations: 164.5 kB / 1.236 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.009, allocations: 4.094 kB / 1.236 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.009, allocations: 16.22 kB / 1.236 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.542e-05/1.009, allocations: 11.94 kB / 1.236 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.009, allocations: 7.984 kB / 1.236 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/1.009, allocations: 139.7 kB / 1.236 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/1.009, allocations: 31.97 kB / 1.236 GB, free: 3.383 MB / 0.9512 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.0001926/1.01, allocations: 162.2 kB / 1.236 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/1.01, allocations: 11.91 kB / 1.236 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/1.01, allocations: 21.81 kB / 1.236 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.01, allocations: 0 / 1.236 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.01, allocations: 7.984 kB / 1.236 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/1.01, allocations: 97.06 kB / 1.236 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/1.01, allocations: 4 kB / 1.236 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/1.01, allocations: 4 kB / 1.236 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/1.01, allocations: 23.97 kB / 1.236 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003047/1.01, allocations: 260.8 kB / 1.236 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003342/1.011, allocations: 360.4 kB / 1.237 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001143/1.011, allocations: 73.86 kB / 1.237 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001087/1.011, allocations: 132.2 kB / 1.237 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of Backend: time 6.42e-07/1.011, allocations: 0 / 1.237 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00107/1.012, allocations: 0.6527 MB / 1.238 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008914/1.013, allocations: 0.7558 MB / 1.238 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of Templates: time 0.009312/1.022, allocations: 4.644 MB / 1.243 GB, free: 12.08 MB / 0.9669 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