Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001716/0.001716, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001706/0.001707, allocations: 192.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.002/3.002, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 71.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8511, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002613/0.8538, allocations: 0.8082 MB / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.8559, allocations: 1.272 MB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.856, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.274e-05/0.856, allocations: 3.984 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.8562, allocations: 15.86 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006881/0.8569, allocations: 235.4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.8572, allocations: 223.5 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.8573, allocations: 24.14 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.8575, allocations: 87.86 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.8576, allocations: 87.69 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.8577, allocations: 16 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.8578, allocations: 24.05 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.8579, allocations: 19.92 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.858, allocations: 83.73 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.8583, allocations: 217.4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8584, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.165e-06/0.8584, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.8584, allocations: 3.938 kB / 1.02 GB, free: 15.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.000922/0.8593, allocations: 0.4985 MB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.8594, allocations: 11.98 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.8594, allocations: 16.84 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006764/0.8601, allocations: 252.3 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.8602, allocations: 12.36 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.8602, allocations: 20.38 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.8605, allocations: 135.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8605, allocations: 3.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.8606, allocations: 7.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8606, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.8607, allocations: 59.95 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009353/0.8617, allocations: 0.5162 MB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.862, allocations: 153.2 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.8622, allocations: 69.8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.8622, allocations: 7.984 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005614/0.8628, allocations: 200.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.8628, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.000791/0.8636, allocations: 316.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.8637, allocations: 85.05 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.8639, allocations: 130 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.864, allocations: 45.78 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.8641, allocations: 100.6 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.8641, allocations: 51.34 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.8643, allocations: 73.67 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.8645, allocations: 330.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.8647, allocations: 84.23 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.8649, allocations: 156.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.8654, allocations: 244.1 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8654, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006594/0.8661, allocations: 364.6 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.8662, allocations: 69.58 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8662, allocations: 7.984 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.8662, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.8663, allocations: 19.92 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.8664, allocations: 8.016 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.8667, allocations: 68 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.8668, allocations: 23.97 kB / 1.024 GB, free: 11.23 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 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.867, allocations: 136 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.867, allocations: 19.89 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.8671, allocations: 16.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.8671, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.8671, allocations: 7.938 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.8671, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.8679, allocations: 0.6118 MB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8679, allocations: 4 kB / 1.024 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.868, allocations: 11.94 kB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.868, allocations: 3.938 kB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.868, allocations: 7.984 kB / 1.024 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.868, allocations: 11.94 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.868, allocations: 0 / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.8686, allocations: 418.6 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.8686, allocations: 88.92 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.8687, allocations: 15.92 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.8688, allocations: 7.984 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.8689, allocations: 27.97 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.869, allocations: 19.92 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.799e-05/0.869, allocations: 98.77 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.869, allocations: 0 / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003645/0.8694, allocations: 55.98 kB / 1.025 GB, free: 9.586 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002548/0.8697, allocations: 115.8 kB / 1.025 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005883/0.8703, allocations: 342.8 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8703, allocations: 0 / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.8706, allocations: 119.8 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.871, allocations: 31.91 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.8716, allocations: 300.4 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.8721, allocations: 0.705 MB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.527e-05/0.8722, allocations: 25.48 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.8722, allocations: 19.42 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.8722, allocations: 0 / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of Templates: time 0.007207/0.8794, allocations: 2.493 MB / 1.029 GB, free: 5.391 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches