Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 188.6 kB / 498.1 MB, free: 5.715 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 223.2 MB / 0.7949 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.00102, allocations: 96.31 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003804, allocations: 14.19 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3155, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.5125, allocations: 149.6 MB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5128, allocations: 75.89 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02006/0.5329, allocations: 6.821 MB / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5329, allocations: 0 / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.533, allocations: 11.94 kB / 1.376 GB, free: 5.473 MB / 0.8698 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.0006394/0.5336, allocations: 0.5696 MB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.5337, allocations: 12.03 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.5338, allocations: 31.7 kB / 1.376 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.5341, allocations: 263.9 kB / 1.377 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.5342, allocations: 16 kB / 1.377 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.5343, allocations: 31.98 kB / 1.377 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.5345, allocations: 159.2 kB / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.5346, allocations: 0 / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.5346, allocations: 7.938 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5346, allocations: 4 kB / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.5347, allocations: 86.05 kB / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.5356, allocations: 0.7032 MB / 1.378 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5358, allocations: 171.6 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.5358, allocations: 0 / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.5361, allocations: 156.8 kB / 1.378 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.5361, allocations: 4 kB / 1.378 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0004427/0.5365, allocations: 239 kB / 1.378 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.5366, allocations: 55.41 kB / 1.378 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.5367, allocations: 177.4 kB / 1.378 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.5368, allocations: 37.7 kB / 1.378 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5369, allocations: 128.4 kB / 1.378 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.5369, allocations: 35.59 kB / 1.379 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.537, allocations: 20 kB / 1.379 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5371, allocations: 326.8 kB / 1.379 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.5374, allocations: 151.9 kB / 1.379 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.5378, allocations: 242.1 kB / 1.379 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.5381, allocations: 281.8 kB / 1.38 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5381, allocations: 4 kB / 1.38 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000933/0.5391, allocations: 0.621 MB / 1.38 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.5392, allocations: 160.5 kB / 1.38 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5392, allocations: 4 kB / 1.38 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.5392, allocations: 4 kB / 1.38 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.5393, allocations: 12.27 kB / 1.38 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5393, allocations: 8 kB / 1.38 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.54, allocations: 187.7 kB / 1.38 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.5401, allocations: 35.92 kB / 1.381 GB, free: 192 kB / 0.8698 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,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.5403, allocations: 161.8 kB / 1.381 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.5403, allocations: 19.8 kB / 1.381 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.5404, allocations: 13.95 kB / 1.381 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5404, allocations: 4 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5404, allocations: 0 / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5404, allocations: 7.922 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.541, allocations: 0.507 MB / 1.381 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.541, allocations: 0 / 1.381 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.541, allocations: 7.938 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.541, allocations: 4 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.541, allocations: 3.984 kB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.541, allocations: 4.094 kB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5411, allocations: 3.938 kB / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.5413, allocations: 280.8 kB / 1.381 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.5414, allocations: 92.91 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.5414, allocations: 4 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.5415, allocations: 0 / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.5416, allocations: 27.97 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.5416, allocations: 8 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.932e-05/0.5417, allocations: 124.2 kB / 1.382 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5417, allocations: 0 / 1.382 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003631/0.542, allocations: 79.94 kB / 1.382 GB, free: 14.76 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002668/0.5423, allocations: 126.9 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007051/0.543, allocations: 0.6141 MB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.543, allocations: 0 / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5431, allocations: 81.28 kB / 1.383 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.5435, allocations: 40.52 kB / 1.383 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.5441, allocations: 360.9 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.5445, allocations: 0.7284 MB / 1.384 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.231e-05/0.5445, allocations: 21.55 kB / 1.384 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.5446, allocations: 27.36 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of SimCode: time 3.5e-07/0.5446, allocations: 0 / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of Templates: time 0.007086/0.5517, allocations: 4.124 MB / 1.388 GB, free: 8.566 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches