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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.358/2.358, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001382/0.001382, allocations: 180 kB / 0.4902 GB, free: 2.23 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.734/1.734, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001065/0.001065, allocations: 102.5 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 10.25 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2851, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.4758, allocations: 150.4 MB / 1.376 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.476, allocations: 71.95 kB / 1.376 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02035/0.4964, allocations: 6.827 MB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.606e-06/0.4964, allocations: 4 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.4965, allocations: 0 / 1.383 GB, free: 12.17 MB / 0.8855 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.0007395/0.4972, allocations: 0.5741 MB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4973, allocations: 8.562 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4974, allocations: 27.81 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.4978, allocations: 258.8 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.4979, allocations: 27.88 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.498, allocations: 32.17 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.4982, allocations: 152.2 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4982, allocations: 4 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.4983, allocations: 3.984 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.4983, allocations: 7.938 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.4984, allocations: 79.95 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.4993, allocations: 0.7071 MB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.4995, allocations: 163.7 kB / 1.385 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.4996, allocations: 0 / 1.385 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.4998, allocations: 164.1 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.4998, allocations: 0 / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.000441/0.5003, allocations: 239.1 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.5003, allocations: 55.41 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.5005, allocations: 174.8 kB / 1.385 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/0.5005, allocations: 41.7 kB / 1.385 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.5007, allocations: 128.5 kB / 1.386 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.5007, allocations: 39.52 kB / 1.386 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.5008, allocations: 15.98 kB / 1.386 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5009, allocations: 326.8 kB / 1.386 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.5012, allocations: 155.8 kB / 1.386 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.5016, allocations: 247.2 kB / 1.386 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.502, allocations: 285.1 kB / 1.387 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.502, allocations: 3.938 kB / 1.387 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009517/0.5029, allocations: 0.6149 MB / 1.387 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.503, allocations: 164.5 kB / 1.387 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.503, allocations: 4 kB / 1.387 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5031, allocations: 4.344 kB / 1.387 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.165e-05/0.5031, allocations: 12 kB / 1.387 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.5031, allocations: 11.92 kB / 1.387 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/0.5039, allocations: 183.7 kB / 1.388 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.504, allocations: 35.94 kB / 1.388 GB, free: 6.883 MB / 0.8855 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.0002148/0.5043, allocations: 157.5 kB / 1.388 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.5043, allocations: 19.8 kB / 1.388 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.5044, allocations: 17.88 kB / 1.388 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5044, allocations: 4 kB / 1.388 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5044, allocations: 0 / 1.388 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5044, allocations: 0 / 1.388 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.5051, allocations: 0.5037 MB / 1.388 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.5051, allocations: 96 / 1.388 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.5051, allocations: 19.88 kB / 1.388 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5051, allocations: 0 / 1.388 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.5052, allocations: 7.984 kB / 1.388 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5052, allocations: 0 / 1.388 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5052, allocations: 0 / 1.388 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.5055, allocations: 280.6 kB / 1.389 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.5056, allocations: 88.92 kB / 1.389 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.5056, allocations: 11.92 kB / 1.389 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.5057, allocations: 8 kB / 1.389 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.5058, allocations: 19.97 kB / 1.389 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.5058, allocations: 12 kB / 1.389 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.151e-05/0.5059, allocations: 111.2 kB / 1.389 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5059, allocations: 0 / 1.389 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004255/0.5063, allocations: 87.98 kB / 1.389 GB, free: 5.457 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.0002621/0.5066, allocations: 123.9 kB / 1.389 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007696/0.5074, allocations: 0.614 MB / 1.39 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5074, allocations: 0 / 1.39 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.5075, allocations: 73.11 kB / 1.39 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.5079, allocations: 44.59 kB / 1.39 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.5085, allocations: 364.7 kB / 1.39 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.5089, allocations: 0.7361 MB / 1.391 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00011/0.509, allocations: 29.53 kB / 1.391 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.5091, allocations: 23.42 kB / 1.391 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.5091, allocations: 0 / 1.391 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.008597/0.5177, allocations: 4.117 MB / 1.395 GB, free: 15.27 MB / 0.9011 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches