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.008957/0.008957, allocations: 100.6 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.001735/0.001735, allocations: 189.9 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.516/2.516, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 60.12 kB / 1.018 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9641/0.9654, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002781/0.9682, allocations: 1.471 MB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.9691, allocations: 450.9 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.9691, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.9692, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.9693, allocations: 15.88 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.9695, allocations: 19.97 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.9696, allocations: 51.84 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.9698, allocations: 15.97 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.9699, allocations: 19.92 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.9699, allocations: 19.92 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.97, allocations: 8 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.97, allocations: 4 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.97, allocations: 15.92 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.9701, allocations: 27.91 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.9702, allocations: 47.28 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9702, allocations: 0 / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9702, allocations: 0 / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.9702, allocations: 0 / 1.169 GB, free: 1.672 MB / 0.8887 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.0006466/0.9709, allocations: 360.3 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.9709, allocations: 12.92 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.971, allocations: 0.9375 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.9712, allocations: 172.3 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.9712, allocations: 8.375 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.9712, allocations: 8.359 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.9713, allocations: 57.94 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.9714, allocations: 0 / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.9714, allocations: 4 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.9714, allocations: 4 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.9715, allocations: 19.98 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.972, allocations: 308.7 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.9721, allocations: 50.56 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.9722, allocations: 28.94 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.9722, allocations: 0 / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.9724, allocations: 87.3 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.9724, allocations: 0 / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.000226/0.9726, allocations: 97.61 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.9727, allocations: 55.41 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.9728, allocations: 113.8 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.9728, allocations: 25.7 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.9728, allocations: 88.08 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.9729, allocations: 24.03 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.9729, allocations: 21.72 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9731, allocations: 330.6 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.9731, allocations: 12 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.9732, allocations: 47.36 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.9732, allocations: 67.55 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9733, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001292/0.9734, allocations: 97.61 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9734, allocations: 7.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.9734, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.9734, allocations: 8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.9735, allocations: 16 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9735, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.9736, allocations: 15.88 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.9736, allocations: 7.938 kB / 1.171 GB, free: 15.31 MB / 0.9044 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 9.607e-05/0.9737, allocations: 120.1 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.9737, allocations: 11.94 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.9738, allocations: 3.969 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9738, allocations: 4 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9738, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9738, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.9742, allocations: 370.7 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9742, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.9742, allocations: 4 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9742, allocations: 4 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.9743, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.9743, allocations: 7.938 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.9743, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.9744, allocations: 187.4 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.9745, allocations: 77.11 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.9745, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.9746, allocations: 11.92 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.9747, allocations: 15.98 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.9747, allocations: 4 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.256e-05/0.9747, allocations: 83.28 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9747, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002264/0.975, allocations: 12 kB / 1.172 GB, free: 14.31 MB / 0.9044 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.0001044/0.9751, allocations: 103.2 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.9752, allocations: 55.91 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9752, allocations: 4.062 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.9753, allocations: 24 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.9756, allocations: 15.92 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.976, allocations: 157.7 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.9763, allocations: 0.6923 MB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.9763, allocations: 4 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.9763, allocations: 15.44 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9763, allocations: 0 / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.002838/0.9792, allocations: 0.7809 MB / 1.173 GB, free: 12.41 MB / 0.9044 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