Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001846, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.002438/0.002438, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.49/1.49, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.551/2.551, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.002154/1.041, allocations: 0.8334 MB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00198/1.043, allocations: 1.349 MB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/1.043, allocations: 0 / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/1.043, allocations: 7.875 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/1.043, allocations: 27.72 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00098/1.044, allocations: 300.7 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004416/1.045, allocations: 387.4 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/1.045, allocations: 37.11 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/1.045, allocations: 147.8 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/1.045, allocations: 157.2 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/1.045, allocations: 36 kB / 1.171 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/1.046, allocations: 51.98 kB / 1.171 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/1.046, allocations: 63.88 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/1.046, allocations: 155.5 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/1.046, allocations: 338.9 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.046, allocations: 0 / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/1.046, allocations: 4 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.046, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 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.001293/1.048, allocations: 0.6141 MB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.048, allocations: 8.922 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/1.048, allocations: 28.83 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008938/1.049, allocations: 288.6 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/1.049, allocations: 32.58 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/1.049, allocations: 36.36 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/1.049, allocations: 266.9 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.049, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/1.049, allocations: 7.984 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/1.049, allocations: 7.984 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/1.05, allocations: 115.9 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/1.051, allocations: 0.6169 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/1.052, allocations: 415.6 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/1.052, allocations: 180.7 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/1.052, allocations: 0 / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006465/1.053, allocations: 370.8 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.635e-06/1.053, allocations: 0 / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.001148/1.054, allocations: 0.6583 MB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.054, allocations: 67.39 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/1.054, allocations: 148.1 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.058e-05/1.054, allocations: 57.7 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/1.054, allocations: 105 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.054, allocations: 102.8 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/1.054, allocations: 122.2 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.055, allocations: 334.8 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/1.055, allocations: 149.1 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/1.055, allocations: 296.1 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/1.056, allocations: 458.3 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.056, allocations: 4 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009887/1.057, allocations: 0.5692 MB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/1.057, allocations: 59.41 kB / 1.177 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.057, allocations: 4 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/1.057, allocations: 11.98 kB / 1.177 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/1.057, allocations: 43.86 kB / 1.177 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.057, allocations: 8 kB / 1.177 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/1.058, allocations: 99.98 kB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/1.058, allocations: 31.98 kB / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0002056/1.058, allocations: 178.9 kB / 1.177 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/1.058, allocations: 31.7 kB / 1.177 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/1.058, allocations: 26.38 kB / 1.177 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.058, allocations: 7.984 kB / 1.177 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.058, allocations: 3.938 kB / 1.177 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/1.058, allocations: 100.8 kB / 1.178 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/1.058, allocations: 23.98 kB / 1.178 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.058, allocations: 27.95 kB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.059, allocations: 43.94 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000874/1.059, allocations: 0.6337 MB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008485/1.06, allocations: 0.7367 MB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003245/1.061, allocations: 279.9 kB / 1.179 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.212e-05/1.061, allocations: 97.77 kB / 1.179 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of Backend: time 1.262e-06/1.061, allocations: 4 kB / 1.179 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009907/1.062, allocations: 0.4993 MB / 1.18 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008092/1.063, allocations: 0.7558 MB / 1.181 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of Templates: time 0.009118/1.072, allocations: 4.404 MB / 1.185 GB, free: 1.43 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches