Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 186.1 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008505/0.0008504, allocations: 98.67 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 8.594 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2622, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.4514, allocations: 132.1 MB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4517, allocations: 71.95 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006141/0.4578, allocations: 2.278 MB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.155e-06/0.4579, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.4579, allocations: 4 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008291/0.4587, allocations: 489.5 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4588, allocations: 8.031 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.4589, allocations: 31.7 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4592, allocations: 223 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.4593, allocations: 16.33 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.4593, allocations: 27.98 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.4597, allocations: 180.8 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4597, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.4598, allocations: 11.98 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.4598, allocations: 4 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.46, allocations: 124.4 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.4611, allocations: 0.5554 MB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.4614, allocations: 216.3 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4614, allocations: 4 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004567/0.4619, allocations: 277.2 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/0.4619, allocations: 0 / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0007555/0.4627, allocations: 418.3 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.4628, allocations: 67.39 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4629, allocations: 138.9 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.463, allocations: 45.64 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.4631, allocations: 108.9 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/0.4632, allocations: 94.88 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.4632, allocations: 8 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4634, allocations: 346.8 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.4636, allocations: 89.08 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.4638, allocations: 146.3 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.464, allocations: 100.8 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.464, allocations: 4 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004614/0.4645, allocations: 315.7 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4645, allocations: 11.92 kB / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4645, allocations: 4 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4645, allocations: 4 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4647, allocations: 39.92 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4647, allocations: 11.94 kB / 1.035 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.4649, allocations: 43.86 kB / 1.035 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.4649, allocations: 19.98 kB / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0001604/0.4651, allocations: 159 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.4651, allocations: 23.8 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.4652, allocations: 21.97 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4652, allocations: 11.98 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4652, allocations: 4 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.4652, allocations: 3.984 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009933/0.4662, allocations: 0.7443 MB / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4662, allocations: 3.938 kB / 1.036 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.4663, allocations: 19.98 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4663, allocations: 3.938 kB / 1.036 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.4664, allocations: 15.98 kB / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4664, allocations: 0 / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4664, allocations: 4 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.4669, allocations: 439 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.467, allocations: 96.77 kB / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.467, allocations: 11.98 kB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.4672, allocations: 35.97 kB / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4673, allocations: 43.92 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.4673, allocations: 15.98 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.355e-05/0.4674, allocations: 112.9 kB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4674, allocations: 0 / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002864/0.4677, allocations: 67.98 kB / 1.037 GB, free: 3.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001771/0.4679, allocations: 134.6 kB / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004685/0.4684, allocations: 278.9 kB / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4684, allocations: 0 / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.4686, allocations: 163.8 kB / 1.038 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4689, allocations: 19.98 kB / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.4697, allocations: 458.8 kB / 1.038 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.47, allocations: 0.7413 MB / 1.039 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.425e-05/0.4701, allocations: 30.97 kB / 1.039 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.4702, allocations: 27.42 kB / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of SimCode: time 4.5e-07/0.4702, allocations: 0 / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of Templates: time 0.005198/0.4754, allocations: 2.319 MB / 1.041 GB, free: 14.89 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches