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.008192/0.008198, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001646/0.001646, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.312/2.312, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.8599, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002468/0.8625, allocations: 1.484 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006395/0.8631, allocations: 439.4 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.8632, allocations: 1.094 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.8632, allocations: 4.969 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.8633, allocations: 6.969 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.8635, allocations: 28.81 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.8636, allocations: 55.31 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.8637, allocations: 16.48 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.8638, allocations: 22.62 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.8638, allocations: 22.52 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.8638, allocations: 4.656 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.8639, allocations: 4.781 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.8639, allocations: 8.594 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.8639, allocations: 25.41 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.8641, allocations: 39.55 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8641, allocations: 0.9062 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8641, allocations: 0 / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.8641, allocations: 0 / 1.09 GB, free: 4.055 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.0004848/0.8646, allocations: 372.1 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.8646, allocations: 9.406 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.8647, allocations: 11.95 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.8648, allocations: 164.3 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.8648, allocations: 3.828 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.8648, allocations: 8.484 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.8649, allocations: 58.19 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.865, allocations: 4.453 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.865, allocations: 4.938 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.865, allocations: 1.203 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/0.8651, allocations: 22.19 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.8656, allocations: 312.4 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.8657, allocations: 60.62 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.8657, allocations: 27.83 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.8658, allocations: 0 / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.8659, allocations: 70.39 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.866, allocations: 0 / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002845/0.8662, allocations: 101.4 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8663, allocations: 62.8 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.8664, allocations: 102.4 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.8664, allocations: 31.36 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.8665, allocations: 87.16 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.8665, allocations: 24.89 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.8666, allocations: 29.08 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.8667, allocations: 317.8 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.8667, allocations: 20.22 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.8668, allocations: 44.41 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.8669, allocations: 68.72 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.867, allocations: 1.438 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001663/0.8671, allocations: 97.56 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.8672, allocations: 5.375 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.8672, allocations: 5 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.8672, allocations: 2.406 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.8673, allocations: 13.55 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.8673, allocations: 5.844 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.8674, allocations: 9.891 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.8674, allocations: 7.5 kB / 1.092 GB, free: 2.117 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 0.0001086/0.8675, allocations: 122.4 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.8676, allocations: 6.906 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.8676, allocations: 9.703 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.8676, allocations: 1.531 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8676, allocations: 0 / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.8676, allocations: 5.828 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.8681, allocations: 363.7 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8681, allocations: 0.75 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.8682, allocations: 3.625 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8682, allocations: 1.406 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.8682, allocations: 5.672 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.8682, allocations: 4.656 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8682, allocations: 0.6562 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.8684, allocations: 182 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.8685, allocations: 83.92 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.8685, allocations: 2.719 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.8686, allocations: 13.58 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.8687, allocations: 6.531 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.8687, allocations: 2.469 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.8687, allocations: 85.27 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8687, allocations: 0 / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002878/0.869, allocations: 16.06 kB / 1.093 GB, free: 1.289 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 0.0001535/0.8692, allocations: 101.2 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.8694, allocations: 62.64 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8694, allocations: 0 / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.8695, allocations: 23.69 kB / 1.093 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.8699, allocations: 15.12 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.8703, allocations: 150 kB / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.8705, allocations: 0.6842 MB / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.165e-05/0.8706, allocations: 6.078 kB / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.8706, allocations: 15.12 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.8706, allocations: 1.031 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of Templates: time 0.003427/0.8741, allocations: 0.7754 MB / 1.095 GB, free: 244 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches