Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00144/0.001441, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001528/0.001528, allocations: 185.5 kB / 17.34 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 55.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.856, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002536/0.8585, allocations: 1.476 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006953/0.8593, allocations: 447.5 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.8593, allocations: 3.938 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.8594, allocations: 5.781 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.8595, allocations: 10.23 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.8596, allocations: 24.91 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.8597, allocations: 51.44 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.8599, allocations: 16.41 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.8599, allocations: 18.8 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.86, allocations: 23.03 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.86, allocations: 4.594 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.86, allocations: 4.625 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.8601, allocations: 11.59 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.8601, allocations: 29.53 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.8602, allocations: 40.73 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8603, allocations: 0 / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8603, allocations: 1.031 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8603, allocations: 0 / 1.091 GB, free: 4.078 MB / 0.8575 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.0004591/0.8607, allocations: 361.2 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.8608, allocations: 9.953 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.8608, allocations: 3.25 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.8609, allocations: 178.9 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.861, allocations: 11.12 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.861, allocations: 5.234 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.8611, allocations: 61.2 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8611, allocations: 0.6562 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.8611, allocations: 4.75 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.8611, allocations: 1.156 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.8612, allocations: 22.98 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.8617, allocations: 310.5 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.8618, allocations: 53.38 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.8618, allocations: 27.48 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.8618, allocations: 1.125 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.862, allocations: 77.66 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.862, allocations: 5.188 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002328/0.8622, allocations: 96.27 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.8623, allocations: 54.66 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.8624, allocations: 110.4 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.8624, allocations: 28.78 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.8624, allocations: 89.77 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.8624, allocations: 20.97 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.8625, allocations: 24.39 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.8625, allocations: 326.8 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.8626, allocations: 15.84 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.215e-05/0.8626, allocations: 48.83 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.8627, allocations: 64.47 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8627, allocations: 0 / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001406/0.8629, allocations: 98.06 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.8629, allocations: 5.969 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8629, allocations: 1.719 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.8629, allocations: 5.25 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.863, allocations: 13.8 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.863, allocations: 1.531 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.8631, allocations: 14.28 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.8631, allocations: 3.781 kB / 1.093 GB, free: 2.152 MB / 0.8575 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 7.085e-05/0.8632, allocations: 132.1 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.8632, allocations: 2.766 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.8633, allocations: 4.688 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.8633, allocations: 2.172 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8633, allocations: 4.75 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8633, allocations: 1.516 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.8636, allocations: 363.9 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8636, allocations: 4.766 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.8637, allocations: 4.094 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8637, allocations: 5.219 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.8637, allocations: 5.797 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8637, allocations: 3.938 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8637, allocations: 1.031 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.8639, allocations: 178.1 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.8639, allocations: 83.88 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.8639, allocations: 1.734 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.864, allocations: 14.22 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.8641, allocations: 11 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.8641, allocations: 3.219 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.8641, allocations: 84.23 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8641, allocations: 0 / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002346/0.8644, allocations: 11.56 kB / 1.094 GB, free: 1.316 MB / 0.8575 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 9.383e-05/0.8645, allocations: 106 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.8646, allocations: 50.08 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.8646, allocations: 4.062 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.029e-05/0.8647, allocations: 31.52 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.865, allocations: 7.844 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.8652, allocations: 172 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.8654, allocations: 0.6854 MB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.8654, allocations: 10.97 kB / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/0.8654, allocations: 288 / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of Templates: time 0.00247/0.8679, allocations: 0.8706 MB / 1.096 GB, free: 268 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time