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.212/2.212, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001065/0.001065, allocations: 180.9 kB / 492.3 MB, free: 0.6016 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.626/1.626, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009154/0.0009155, allocations: 83.39 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.022e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2909, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9303/1.221, allocations: 149.8 MB / 1.359 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/1.221, allocations: 73.95 kB / 1.359 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01115/1.233, allocations: 4.004 MB / 1.363 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.233, allocations: 4 kB / 1.363 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.437e-06/1.233, allocations: 3.875 kB / 1.363 GB, free: 34.45 MB / 0.8386 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.0006973/1.233, allocations: 0.5261 MB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.233, allocations: 7.625 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.748e-05/1.234, allocations: 37.67 kB / 1.363 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.741e-05/1.234, allocations: 177.3 kB / 1.363 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/1.234, allocations: 24.94 kB / 1.363 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/1.234, allocations: 38.88 kB / 1.363 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/1.234, allocations: 255.6 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/1.234, allocations: 3.938 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/1.234, allocations: 8.953 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.234, allocations: 3.844 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/1.234, allocations: 126.3 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/1.235, allocations: 0.5887 MB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/1.236, allocations: 422 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/1.236, allocations: 201.1 kB / 1.365 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/1.236, allocations: 4.406 kB / 1.365 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/1.236, allocations: 367.3 kB / 1.365 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.843e-06/1.236, allocations: 0 / 1.365 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0006951/1.237, allocations: 0.516 MB / 1.366 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.237, allocations: 65.62 kB / 1.366 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/1.237, allocations: 125.6 kB / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/1.237, allocations: 54.02 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/1.237, allocations: 102 kB / 1.366 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/1.237, allocations: 103.1 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/1.237, allocations: 21.59 kB / 1.366 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.238, allocations: 333.1 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/1.238, allocations: 141.1 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/1.238, allocations: 295.6 kB / 1.367 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/1.238, allocations: 218.9 kB / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.238, allocations: 0 / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00073/1.239, allocations: 0.553 MB / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.735e-05/1.239, allocations: 82.77 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.239, allocations: 3.844 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.239, allocations: 11.64 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/1.239, allocations: 43.7 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/1.239, allocations: 7.75 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/1.24, allocations: 107.6 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/1.24, allocations: 28.52 kB / 1.368 GB, free: 32.08 MB / 0.8386 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 () * 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.0001501/1.24, allocations: 175.5 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/1.24, allocations: 26.25 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/1.24, allocations: 30.25 kB / 1.368 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.24, allocations: 11.86 kB / 1.368 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.24, allocations: 0 / 1.368 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.24, allocations: 2.625 kB / 1.368 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.241, allocations: 1.048 MB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.241, allocations: 0 / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/1.242, allocations: 18.61 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/1.242, allocations: 3.844 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/1.242, allocations: 16.53 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.242, allocations: 3.656 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.242, allocations: 0 / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/1.242, allocations: 0.6654 MB / 1.37 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/1.242, allocations: 96.55 kB / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/1.242, allocations: 23.72 kB / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/1.242, allocations: 36.67 kB / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/1.243, allocations: 45.62 kB / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/1.243, allocations: 38.77 kB / 1.37 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.64e-05/1.243, allocations: 106.4 kB / 1.37 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.243, allocations: 0 / 1.37 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00039/1.243, allocations: 112 kB / 1.37 GB, free: 31.16 MB / 0.8386 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) * 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.0002275/1.243, allocations: 156.1 kB / 1.371 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006133/1.244, allocations: 0.5407 MB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.244, allocations: 0 / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/1.244, allocations: 305 kB / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/1.244, allocations: 31.92 kB / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/1.245, allocations: 376.9 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/1.245, allocations: 0.7417 MB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.891e-05/1.245, allocations: 31.05 kB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/1.245, allocations: 27.31 kB / 1.373 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.245, allocations: 0 / 1.373 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.006644/1.252, allocations: 3.845 MB / 1.376 GB, free: 29.76 MB / 0.8386 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