Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001098/0.001098, allocations: 175 kB / 498.1 MB, free: 5.754 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.84/1.84, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009321/0.0009321, allocations: 110.4 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 12 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3415, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.5336, allocations: 149.4 MB / 1.369 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5339, allocations: 71.95 kB / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00888/0.5428, allocations: 2.93 MB / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5428, allocations: 0 / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5429, allocations: 0 / 1.372 GB, free: 9.723 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005266/0.5434, allocations: 422.6 kB / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5434, allocations: 8.031 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.5435, allocations: 11.91 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.5436, allocations: 167 kB / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.5437, allocations: 8 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.5437, allocations: 16 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.5438, allocations: 49.62 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5439, allocations: 3.984 kB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5439, allocations: 0 / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5439, allocations: 0 / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.5439, allocations: 15.98 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.5444, allocations: 356.7 kB / 1.373 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.5445, allocations: 38.55 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.5446, allocations: 3.984 kB / 1.373 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.5447, allocations: 75.38 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.5447, allocations: 4 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002627/0.545, allocations: 109.7 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.5451, allocations: 55.36 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.5452, allocations: 109.2 kB / 1.373 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.5452, allocations: 33.7 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.5453, allocations: 92.31 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.5453, allocations: 12.19 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.5453, allocations: 8 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5454, allocations: 310.8 kB / 1.374 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.5456, allocations: 63.95 kB / 1.374 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.5457, allocations: 96.2 kB / 1.374 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.5459, allocations: 115.3 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5459, allocations: 0 / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004161/0.5463, allocations: 256.8 kB / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/0.5464, allocations: 71.39 kB / 1.374 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5464, allocations: 128 / 1.374 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5464, allocations: 4 kB / 1.374 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.668e-05/0.5464, allocations: 4 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5465, allocations: 8.047 kB / 1.374 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.5468, allocations: 79.83 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.5468, allocations: 12 kB / 1.374 GB, free: 6.875 MB / 0.8698 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.547, allocations: 125.8 kB / 1.374 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.547, allocations: 7.906 kB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.547, allocations: 12.38 kB / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.547, allocations: 0 / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.547, allocations: 4 kB / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.547, allocations: 0 / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.5472, allocations: 181.6 kB / 1.374 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5472, allocations: 0 / 1.374 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.886e-06/0.5472, allocations: 0 / 1.374 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5472, allocations: 0 / 1.374 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5472, allocations: 4 kB / 1.375 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5472, allocations: 3.938 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5472, allocations: 0 / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.5474, allocations: 117.8 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.5475, allocations: 81.02 kB / 1.375 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.5475, allocations: 4.062 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.5475, allocations: 7.984 kB / 1.375 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.5476, allocations: 4 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.5476, allocations: 4.094 kB / 1.375 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.5476, allocations: 95.2 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5477, allocations: 0 / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002413/0.5479, allocations: 32 kB / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001663/0.5481, allocations: 115 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.5484, allocations: 250.7 kB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5484, allocations: 0 / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.5485, allocations: 27.92 kB / 1.375 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.5487, allocations: 16.98 kB / 1.375 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.549, allocations: 167.2 kB / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5492, allocations: 0.6948 MB / 1.376 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.5493, allocations: 7.781 kB / 1.376 GB, free: 4.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.5493, allocations: 15.44 kB / 1.376 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.5493, allocations: 4 kB / 1.376 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of Templates: time 0.004022/0.5533, allocations: 1.658 MB / 1.378 GB, free: 3.09 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches