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.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001125, allocations: 192.7 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008284/0.0008283, allocations: 105.8 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.769e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2279, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.659/0.887, allocations: 132.3 MB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.8874, allocations: 76.88 kB / 1.014 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006598/0.894, allocations: 2.261 MB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.894, allocations: 0 / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.8941, allocations: 7.938 kB / 1.017 GB, free: 3.477 MB / 0.6355 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.0007268/0.8948, allocations: 479.4 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8948, allocations: 8.031 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.8949, allocations: 27.14 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.8952, allocations: 220.2 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.8953, allocations: 11.94 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.8953, allocations: 23.92 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002263/0.8956, allocations: 102.3 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.8958, allocations: 150.3 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8959, allocations: 0 / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.8959, allocations: 7.984 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.8959, allocations: 7.953 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.8969, allocations: 0.5117 MB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.8972, allocations: 202.7 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.8973, allocations: 90.48 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.8973, allocations: 4 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003572/0.8977, allocations: 240.3 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.8977, allocations: 0 / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0004608/0.8982, allocations: 306.7 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.8982, allocations: 63.02 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.8984, allocations: 138.5 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.8984, allocations: 41.62 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.8985, allocations: 112.9 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.8985, allocations: 85.89 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.8986, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8987, allocations: 338 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.8988, allocations: 79.94 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.899, allocations: 135.8 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.8991, allocations: 79.7 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8991, allocations: 0 / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003593/0.8995, allocations: 277.7 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8995, allocations: 4 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8995, allocations: 128 / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.8995, allocations: 11.94 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.8997, allocations: 39.86 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.8997, allocations: 7.984 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.8999, allocations: 31.83 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.8999, allocations: 15.44 kB / 1.02 GB, free: 64 kB / 0.6355 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 () * 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.0001317/0.9001, allocations: 149.8 kB / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.9001, allocations: 23.72 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.9002, allocations: 29.36 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.9002, allocations: 4 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9002, allocations: 0 / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.9002, allocations: 0 / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008079/0.901, allocations: 0.6702 MB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.901, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.9011, allocations: 19.88 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9011, allocations: 0 / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.9011, allocations: 7.984 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9011, allocations: 0 / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9012, allocations: 4 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.9016, allocations: 408.1 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.9016, allocations: 100.8 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.9017, allocations: 7.938 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.9019, allocations: 27.95 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.902, allocations: 39.81 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.902, allocations: 15.86 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.448e-05/0.9021, allocations: 114.2 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9021, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002748/0.9023, allocations: 52 kB / 1.022 GB, free: 14.55 MB / 0.6511 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) * 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.000173/0.9025, allocations: 126.2 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.9029, allocations: 245.2 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9029, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.9031, allocations: 144.3 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.9034, allocations: 27.73 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.9038, allocations: 280.4 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.9041, allocations: 0.749 MB / 1.024 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.466e-05/0.9042, allocations: 27.28 kB / 1.024 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.9043, allocations: 31.42 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9043, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.004673/0.909, allocations: 2.254 MB / 1.026 GB, free: 10.8 MB / 0.6511 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