Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, 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.001809/0.001809, allocations: 171.3 kB / 498.1 MB, free: 5.742 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.603/1.603, allocations: 223.2 MB / 0.7949 GB, free: 17.8 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.0009952/0.0009951, allocations: 93.27 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 10.72 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3253, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.5176, allocations: 149.4 MB / 1.369 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5179, allocations: 71.95 kB / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.5297, allocations: 4.085 MB / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.318e-06/0.5298, allocations: 0 / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.5298, allocations: 3.938 kB / 1.373 GB, free: 8.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006502/0.5304, allocations: 465 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.5305, allocations: 12.03 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.5306, allocations: 11.91 kB / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.5308, allocations: 175 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.5308, allocations: 12 kB / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/0.5309, allocations: 12 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.5311, allocations: 57.61 kB / 1.374 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5311, allocations: 0 / 1.374 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.5312, allocations: 4 kB / 1.374 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5312, allocations: 4 kB / 1.374 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.5313, allocations: 23.98 kB / 1.374 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.5319, allocations: 412.5 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.532, allocations: 34.52 kB / 1.374 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.532, allocations: 4 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.5323, allocations: 95.44 kB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.335e-06/0.5323, allocations: 0 / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003181/0.5326, allocations: 141.4 kB / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.5327, allocations: 59.36 kB / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5328, allocations: 127.5 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.5328, allocations: 37.7 kB / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.5329, allocations: 92.12 kB / 1.375 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.533, allocations: 27.78 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.533, allocations: 12 kB / 1.375 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5331, allocations: 322.8 kB / 1.375 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.5333, allocations: 91.95 kB / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.5336, allocations: 130.6 kB / 1.375 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.5338, allocations: 176.8 kB / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5338, allocations: 0 / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005969/0.5344, allocations: 366.4 kB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/0.5345, allocations: 102 kB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5345, allocations: 8.172 kB / 1.376 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.5345, allocations: 4 kB / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.099e-05/0.5346, allocations: 7.953 kB / 1.376 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.5346, allocations: 0 / 1.376 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.5351, allocations: 111.8 kB / 1.376 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.5352, allocations: 15.98 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001431/0.5353, allocations: 136 kB / 1.376 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.5354, allocations: 11.89 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.5354, allocations: 12.38 kB / 1.376 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5354, allocations: 0 / 1.376 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5354, allocations: 3.953 kB / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5354, allocations: 0 / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.5356, allocations: 189.6 kB / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5356, allocations: 0 / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.5356, allocations: 4 kB / 1.376 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5356, allocations: 4 kB / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.5357, allocations: 4 kB / 1.376 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5357, allocations: 4 kB / 1.376 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5357, allocations: 0 / 1.376 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.5359, allocations: 145.2 kB / 1.376 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.5359, allocations: 85.02 kB / 1.376 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.5359, allocations: 0 / 1.376 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.536, allocations: 0 / 1.376 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.536, allocations: 23.91 kB / 1.376 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.536, allocations: 7.984 kB / 1.376 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.5361, allocations: 95.27 kB / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5361, allocations: 0 / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002773/0.5364, allocations: 55.89 kB / 1.377 GB, free: 4.211 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002099/0.5366, allocations: 119 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.5371, allocations: 362.1 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5371, allocations: 0 / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.5371, allocations: 39.98 kB / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.5374, allocations: 21.06 kB / 1.377 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.5378, allocations: 203.7 kB / 1.377 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.538, allocations: 0.6965 MB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.939e-05/0.5381, allocations: 8.438 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.5381, allocations: 11.44 kB / 1.378 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.5381, allocations: 0 / 1.378 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.005672/0.5438, allocations: 2.371 MB / 1.38 GB, free: 324 kB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches