Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.288/2.288, 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.001091/0.001091, allocations: 186.6 kB / 498.1 MB, free: 5.734 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.563/1.563, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009207/0.0009208, allocations: 98.81 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.000364, allocations: 13.69 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3227, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.5152, allocations: 149.4 MB / 1.369 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.5155, allocations: 75.89 kB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.5306, allocations: 4.073 MB / 1.373 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5306, allocations: 0 / 1.373 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5306, allocations: 0 / 1.373 GB, free: 8.535 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.000572/0.5312, allocations: 466.7 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5313, allocations: 8.031 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.5314, allocations: 19.84 kB / 1.373 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.5315, allocations: 178.9 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.5315, allocations: 16 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.5316, allocations: 12 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.5318, allocations: 61.61 kB / 1.374 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.5318, allocations: 0 / 1.374 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5318, allocations: 0 / 1.374 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5318, allocations: 0 / 1.374 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.243e-05/0.5319, allocations: 23.98 kB / 1.374 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006894/0.5326, allocations: 416.5 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.5327, allocations: 34.52 kB / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.5327, allocations: 0 / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.5329, allocations: 99.5 kB / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.533, allocations: 0 / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003832/0.5334, allocations: 137.5 kB / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.5334, allocations: 59.36 kB / 1.374 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5335, allocations: 123.5 kB / 1.374 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.5336, allocations: 37.7 kB / 1.374 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.5337, allocations: 100.1 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.5337, allocations: 23.7 kB / 1.375 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.5338, allocations: 11.94 kB / 1.375 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5339, allocations: 318.8 kB / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.5342, allocations: 91.95 kB / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.5345, allocations: 137.5 kB / 1.375 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.5348, allocations: 169.1 kB / 1.375 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5348, allocations: 0 / 1.375 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007827/0.5356, allocations: 370.4 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-05/0.5357, allocations: 101.1 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5357, allocations: 464 / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5357, allocations: 7.984 kB / 1.376 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.004e-05/0.5358, allocations: 7.953 kB / 1.376 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.5358, allocations: 3.984 kB / 1.376 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.5364, allocations: 120 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.5365, allocations: 19.98 kB / 1.376 GB, free: 5.125 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,or1.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.0001416/0.5367, allocations: 131.8 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.5367, allocations: 11.89 kB / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.5367, allocations: 8.375 kB / 1.376 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5367, allocations: 4 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5368, allocations: 3.953 kB / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5368, allocations: 4 kB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.537, allocations: 185.6 kB / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.537, allocations: 0 / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.537, allocations: 0 / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.537, allocations: 0 / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.537, allocations: 4 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.537, allocations: 0 / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.537, allocations: 0 / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.5373, allocations: 144.9 kB / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.5373, allocations: 85.02 kB / 1.376 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.5374, allocations: 0 / 1.376 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.5374, allocations: 4 kB / 1.376 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.5375, allocations: 19.97 kB / 1.376 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.5375, allocations: 7.922 kB / 1.376 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.239e-05/0.5376, allocations: 99.27 kB / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5376, allocations: 3.938 kB / 1.377 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003922/0.538, allocations: 47.95 kB / 1.377 GB, free: 4.277 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,or1.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.0002208/0.5382, allocations: 127.9 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.5387, allocations: 354.1 kB / 1.377 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5387, allocations: 0 / 1.377 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.5388, allocations: 43.92 kB / 1.377 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.539, allocations: 32.56 kB / 1.377 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.5394, allocations: 195.5 kB / 1.377 GB, free: 3.461 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.5397, allocations: 0.7004 MB / 1.378 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.244e-05/0.5397, allocations: 8.438 kB / 1.378 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.5397, allocations: 15.44 kB / 1.378 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5397, allocations: 0 / 1.378 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of Templates: time 0.005007/0.5448, allocations: 2.368 MB / 1.38 GB, free: 384 kB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches