Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00783/0.00783, allocations: 101 kB / 15.73 MB, free: 6.445 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.001541/0.001541, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.336 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 2.624/2.624, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3644, allocations: 151.6 MB / 1.167 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003311/0.3677, allocations: 1.483 MB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.3686, allocations: 434.9 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.3687, allocations: 0 / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.3688, allocations: 7.922 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3689, allocations: 19.92 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.3691, allocations: 19.98 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3692, allocations: 47.84 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3693, allocations: 19.97 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.3694, allocations: 15.94 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.051e-05/0.3695, allocations: 27.89 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.3695, allocations: 4 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.3696, allocations: 4 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.3696, allocations: 15.92 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.3697, allocations: 23.88 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.3698, allocations: 51.75 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3698, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3698, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3698, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006479/0.3705, allocations: 363.3 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3706, allocations: 8.031 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/0.3706, allocations: 4.938 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3708, allocations: 176.3 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3709, allocations: 8.375 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3709, allocations: 4.375 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.371, allocations: 61.92 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.371, allocations: 0 / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.371, allocations: 4 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3711, allocations: 0 / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.701e-05/0.3711, allocations: 23.98 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.3717, allocations: 304.7 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3719, allocations: 54.56 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.3719, allocations: 24.95 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3719, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3721, allocations: 87.3 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3721, allocations: 4 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002804/0.3724, allocations: 97.61 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.3725, allocations: 51.41 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3726, allocations: 109.8 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3726, allocations: 29.7 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3727, allocations: 84.14 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3727, allocations: 27.72 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3728, allocations: 33.7 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3729, allocations: 322.8 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.373, allocations: 15.98 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.3731, allocations: 47.42 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.3732, allocations: 63.56 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3732, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001676/0.3733, allocations: 105.5 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3734, allocations: 4 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3734, allocations: 4 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3734, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.3735, allocations: 11.98 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3735, allocations: 0 / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.3736, allocations: 8 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3736, allocations: 4 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001141/0.3737, allocations: 136.4 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.3737, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.3738, allocations: 7.969 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3738, allocations: 4 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3738, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3738, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.3742, allocations: 358.7 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3742, allocations: 4.062 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.3743, allocations: 7.984 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3743, allocations: 4 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.3743, allocations: 8 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3743, allocations: 3.938 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3743, allocations: 0 / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.3745, allocations: 187.4 kB / 1.171 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.3745, allocations: 81.05 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3746, allocations: 4 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.3747, allocations: 7.922 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.3747, allocations: 8 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3747, allocations: 8 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.092e-05/0.3748, allocations: 83.27 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3748, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002395/0.375, allocations: 16 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001082/0.3751, allocations: 99.19 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.3753, allocations: 55.91 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3753, allocations: 8.062 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.3753, allocations: 23.94 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3756, allocations: 15.97 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.3759, allocations: 141.8 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3762, allocations: 0.6884 MB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.3763, allocations: 4 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.3763, allocations: 11.44 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/0.3763, allocations: 4 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of Templates: time 0.003011/0.3793, allocations: 0.7793 MB / 1.173 GB, free: 15.32 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches