Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001429, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 16 kB / 0.8708 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7694, allocations: 153.7 MB / 1.021 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001197/0.7706, allocations: 460.8 kB / 1.021 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.7723, allocations: 1.199 MB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.7724, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.7724, allocations: 7.922 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.7726, allocations: 19.97 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007489/0.7733, allocations: 217.9 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.7735, allocations: 131.8 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.7736, allocations: 24.2 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.7738, allocations: 83.86 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.7739, allocations: 75.77 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.774, allocations: 16 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.7741, allocations: 23.98 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.7741, allocations: 23.91 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.7742, allocations: 49.7 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.7744, allocations: 165.5 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7744, allocations: 0 / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.996e-06/0.7744, allocations: 0 / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7744, allocations: 0 / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007414/0.7752, allocations: 468.2 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7752, allocations: 12.03 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.7753, allocations: 15.91 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.7759, allocations: 250.9 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.776, allocations: 15.98 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.776, allocations: 27.94 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.7763, allocations: 128.5 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.7763, allocations: 3.938 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.7763, allocations: 11.98 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.7764, allocations: 4 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.7765, allocations: 63.89 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.7773, allocations: 0.5279 MB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.7776, allocations: 161.3 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.7776, allocations: 3.984 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.7779, allocations: 202.2 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.7779, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005354/0.7785, allocations: 307.4 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.7785, allocations: 97.09 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.7786, allocations: 130 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.7787, allocations: 33.7 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.7788, allocations: 100.8 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.7788, allocations: 47.36 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.7789, allocations: 8 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.779, allocations: 330.8 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.7791, allocations: 84.23 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.7793, allocations: 156.1 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.7795, allocations: 146 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7796, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005253/0.7801, allocations: 356.9 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/0.7802, allocations: 67.39 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7802, allocations: 0 / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.7802, allocations: 7.938 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.7803, allocations: 19.94 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.7803, allocations: 8.219 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.7807, allocations: 91.77 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.7807, allocations: 15.98 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001654/0.7809, allocations: 144 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.7809, allocations: 15.89 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.781, allocations: 16.5 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.781, allocations: 3.938 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.781, allocations: 8 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.781, allocations: 0 / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.7816, allocations: 0.6185 MB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7816, allocations: 0 / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.7817, allocations: 8 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7817, allocations: 0 / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.7817, allocations: 11.98 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7817, allocations: 0 / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7817, allocations: 8 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.7822, allocations: 438.8 kB / 1.028 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.7822, allocations: 88.92 kB / 1.028 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.7823, allocations: 11.98 kB / 1.028 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7824, allocations: 7.984 kB / 1.028 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.7825, allocations: 27.97 kB / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.7825, allocations: 15.98 kB / 1.028 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.7826, allocations: 98.77 kB / 1.028 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7826, allocations: 0 / 1.028 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003386/0.7829, allocations: 55.98 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001975/0.7831, allocations: 127.2 kB / 1.029 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.7836, allocations: 345 kB / 1.029 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7836, allocations: 0 / 1.029 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.7838, allocations: 120 kB / 1.029 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.7841, allocations: 24.11 kB / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.7846, allocations: 301.3 kB / 1.029 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.7849, allocations: 0.7089 MB / 1.03 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.785, allocations: 21.55 kB / 1.03 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.785, allocations: 15.44 kB / 1.03 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.785, allocations: 0 / 1.03 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of Templates: time 0.005371/0.7904, allocations: 2.368 MB / 1.032 GB, free: 4.793 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches