Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.239/2.239, allocations: 390.5 MB / 398 MB, free: 10.93 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.001437/0.001437, allocations: 172.9 kB / 491.2 MB, free: 1.609 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.544/1.544, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001054/0.001053, allocations: 102.7 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.705e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.381, allocations: 149.9 MB / 1.359 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/1.381, allocations: 71.58 kB / 1.359 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0117/1.393, allocations: 3.971 MB / 1.363 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.393, allocations: 11.56 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.427e-06/1.393, allocations: 0 / 1.363 GB, free: 33.06 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.0007866/1.394, allocations: 0.5322 MB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.394, allocations: 7.656 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/1.394, allocations: 40.34 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/1.394, allocations: 178 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/1.394, allocations: 12.52 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/1.394, allocations: 34.95 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002065/1.394, allocations: 107.7 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/1.394, allocations: 231.4 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.395, allocations: 1.547 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/1.395, allocations: 7.922 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.395, allocations: 7.797 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/1.395, allocations: 0.5441 MB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/1.396, allocations: 391 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/1.396, allocations: 188.3 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/1.396, allocations: 7.312 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004632/1.397, allocations: 340.2 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.764e-06/1.397, allocations: 0 / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0006684/1.397, allocations: 493.2 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.397, allocations: 62.22 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/1.397, allocations: 126.4 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/1.397, allocations: 37.11 kB / 1.366 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/1.398, allocations: 99.41 kB / 1.366 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/1.398, allocations: 100.9 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/1.398, allocations: 3.844 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.398, allocations: 340.8 kB / 1.366 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/1.398, allocations: 125.4 kB / 1.367 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/1.398, allocations: 268 kB / 1.367 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/1.399, allocations: 160.2 kB / 1.367 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.399, allocations: 3.906 kB / 1.367 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007977/1.399, allocations: 475 kB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/1.4, allocations: 72.94 kB / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/1.4, allocations: 3.812 kB / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.4, allocations: 11.72 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/1.4, allocations: 48.03 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.4, allocations: 18.56 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/1.4, allocations: 100.8 kB / 1.368 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/1.4, allocations: 29.83 kB / 1.368 GB, free: 30.86 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.0001594/1.4, allocations: 158 kB / 1.368 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/1.4, allocations: 25.44 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/1.401, allocations: 23.81 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.401, allocations: 3.844 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.401, allocations: 3.953 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.401, allocations: 2.812 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/1.402, allocations: 0.9552 MB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.402, allocations: 6.578 kB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/1.402, allocations: 21.89 kB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.402, allocations: 0 / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/1.402, allocations: 12.95 kB / 1.369 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/1.402, allocations: 7.875 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.402, allocations: 0 / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/1.403, allocations: 0.6138 MB / 1.37 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/1.403, allocations: 99.23 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/1.403, allocations: 17.02 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/1.403, allocations: 27.38 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/1.403, allocations: 56.97 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/1.403, allocations: 32.69 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.267e-05/1.403, allocations: 96.69 kB / 1.37 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/1.403, allocations: 0 / 1.37 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003836/1.403, allocations: 93.23 kB / 1.37 GB, free: 29.98 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.0002149/1.404, allocations: 152.5 kB / 1.37 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005863/1.404, allocations: 0.5168 MB / 1.371 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.404, allocations: 0 / 1.371 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/1.405, allocations: 280.8 kB / 1.371 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/1.405, allocations: 30.02 kB / 1.371 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/1.405, allocations: 336.6 kB / 1.371 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/1.406, allocations: 0.7372 MB / 1.372 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.02e-05/1.406, allocations: 31.11 kB / 1.372 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/1.406, allocations: 33.81 kB / 1.372 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.406, allocations: 0 / 1.372 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.007552/1.413, allocations: 3.651 MB / 1.376 GB, free: 28.6 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches