Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 182.9 kB / 16.66 MB, free: 6.602 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.785/2.785, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.91 kB / 1.018 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.369, allocations: 151.6 MB / 1.167 GB, free: 6.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00338/0.3724, allocations: 1.471 MB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.3734, allocations: 439 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.3734, allocations: 0 / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.3735, allocations: 7.875 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3736, allocations: 15.84 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.3738, allocations: 23.92 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3739, allocations: 47.84 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3741, allocations: 20 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.3742, allocations: 19.92 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.3743, allocations: 23.89 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3743, allocations: 4 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.3743, allocations: 4 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.3744, allocations: 15.94 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.3744, allocations: 15.92 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3745, allocations: 47.77 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3746, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3746, allocations: 4 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3746, allocations: 0 / 1.169 GB, free: 4.734 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.0005953/0.3752, allocations: 367.3 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3752, allocations: 8.031 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.3753, allocations: 8.922 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3755, allocations: 172.3 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3755, allocations: 4.375 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3755, allocations: 8.375 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3756, allocations: 65.98 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3757, allocations: 3.938 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3757, allocations: 0 / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3757, allocations: 0 / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.3758, allocations: 27.98 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.3764, allocations: 292.8 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3765, allocations: 54.61 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.3765, allocations: 28.94 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3766, allocations: 4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.3768, allocations: 75.33 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.3768, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002693/0.3771, allocations: 97.56 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3771, allocations: 63.33 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3772, allocations: 109.8 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3773, allocations: 29.7 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.3773, allocations: 88.12 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.3774, allocations: 27.78 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.3774, allocations: 29.7 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3775, allocations: 318.8 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.3776, allocations: 19.98 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.3777, allocations: 55.36 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.3778, allocations: 63.38 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3778, allocations: 0 / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/0.3779, allocations: 93.56 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.378, allocations: 8 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.378, allocations: 3.984 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.378, allocations: 4.031 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.3781, allocations: 15.92 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3781, allocations: 4 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.3782, allocations: 8 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3782, allocations: 4 kB / 1.171 GB, free: 2.367 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.0001076/0.3783, allocations: 117.8 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.3783, allocations: 3.984 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.3784, allocations: 11.97 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3784, allocations: 4 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3784, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3784, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.3788, allocations: 358.3 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3788, allocations: 4.469 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.3789, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.3789, allocations: 4 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3789, allocations: 7.984 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3789, allocations: 3.938 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3789, allocations: 7.938 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3791, allocations: 179.4 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.3792, allocations: 85.09 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3792, allocations: 8.062 kB / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.3793, allocations: 7.938 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.3794, allocations: 7.984 kB / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3794, allocations: 4.281 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.3794, allocations: 91.25 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3794, allocations: 0 / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000241/0.3797, allocations: 16 kB / 1.172 GB, free: 1.359 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.0001189/0.3798, allocations: 101.3 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.38, allocations: 55.86 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.38, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.38, allocations: 27.98 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3803, allocations: 16.05 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.3808, allocations: 161.2 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3811, allocations: 0.6846 MB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.3811, allocations: 7.984 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3812, allocations: 11.44 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.3812, allocations: 0 / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of Templates: time 0.00336/0.3845, allocations: 0.7722 MB / 1.173 GB, free: 15.47 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches