Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001119/0.001119, allocations: 177.1 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.666/1.666, 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.0009605/0.0009606, allocations: 102.9 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003877, allocations: 18.25 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3206, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.5194, allocations: 149.9 MB / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/0.5199, allocations: 71.95 kB / 1.369 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.532, allocations: 4.02 MB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.637e-06/0.5321, allocations: 0 / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.5321, allocations: 0 / 1.373 GB, free: 8.125 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008735/0.533, allocations: 0.5432 MB / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.533, allocations: 8.031 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.5331, allocations: 35.75 kB / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.5332, allocations: 177.2 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.5333, allocations: 24.22 kB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.5334, allocations: 39.97 kB / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.5338, allocations: 262.1 kB / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5339, allocations: 0 / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.5339, allocations: 11.98 kB / 1.374 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.5339, allocations: 4 kB / 1.374 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.5341, allocations: 128.6 kB / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009572/0.5351, allocations: 0.5909 MB / 1.375 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.5357, allocations: 424.4 kB / 1.375 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.5357, allocations: 4 kB / 1.375 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/0.5363, allocations: 365.8 kB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 1.743e-06/0.5363, allocations: 0 / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.001087/0.5374, allocations: 0.6808 MB / 1.376 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.5375, allocations: 67.16 kB / 1.377 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.5376, allocations: 133.1 kB / 1.377 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.5377, allocations: 61.62 kB / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.5378, allocations: 101 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.616e-05/0.5379, allocations: 102.8 kB / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.5379, allocations: 16 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5381, allocations: 334.8 kB / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.5383, allocations: 149.1 kB / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.5387, allocations: 295.2 kB / 1.378 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.539, allocations: 214 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5391, allocations: 4 kB / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008896/0.54, allocations: 0.5734 MB / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.54, allocations: 71.39 kB / 1.378 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.54, allocations: 11.98 kB / 1.378 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.5401, allocations: 8 kB / 1.379 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5402, allocations: 47.78 kB / 1.379 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.5403, allocations: 8 kB / 1.379 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.5407, allocations: 111.8 kB / 1.379 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.5408, allocations: 27.98 kB / 1.379 GB, free: 2.211 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0001963/0.541, allocations: 175 kB / 1.379 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.5411, allocations: 31.8 kB / 1.379 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.5411, allocations: 22.31 kB / 1.379 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.5411, allocations: 7.953 kB / 1.379 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5411, allocations: 0 / 1.379 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.5412, allocations: 7.969 kB / 1.379 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.5426, allocations: 1.062 MB / 1.38 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.5426, allocations: 12 kB / 1.38 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.5427, allocations: 11.94 kB / 1.38 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5427, allocations: 4 kB / 1.38 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.5428, allocations: 19.97 kB / 1.38 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5428, allocations: 4 kB / 1.38 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5428, allocations: 0 / 1.38 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.5436, allocations: 0.6768 MB / 1.381 GB, free: 80 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.5437, allocations: 92.92 kB / 1.381 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.5437, allocations: 23.98 kB / 1.381 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.544, allocations: 35.95 kB / 1.381 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5441, allocations: 51.88 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.5441, allocations: 35.97 kB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.5442, allocations: 98.08 kB / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5442, allocations: 0 / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004177/0.5446, allocations: 115.9 kB / 1.381 GB, free: 15.62 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002692/0.5449, allocations: 158.9 kB / 1.381 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007959/0.5457, allocations: 0.5528 MB / 1.382 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5457, allocations: 0 / 1.382 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.5461, allocations: 312.8 kB / 1.382 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5464, allocations: 33.22 kB / 1.382 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007876/0.5472, allocations: 0.4924 MB / 1.383 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.5475, allocations: 0.7422 MB / 1.383 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.074e-05/0.5475, allocations: 30.97 kB / 1.383 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.5476, allocations: 31.42 kB / 1.383 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.5476, allocations: 4 kB / 1.383 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of Templates: time 0.007374/0.555, allocations: 3.816 MB / 1.387 GB, free: 9.395 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches