Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7646 GB, free: 10.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.89 kB / 1.109 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.8527, allocations: 168.8 MB / 1.274 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002889/0.8556, allocations: 1.491 MB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.8564, allocations: 448.5 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.8565, allocations: 0 / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.8565, allocations: 7.922 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.8566, allocations: 7.938 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.8567, allocations: 19.92 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.8569, allocations: 59.89 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.857, allocations: 11.98 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.857, allocations: 19.94 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.8571, allocations: 23.84 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.8571, allocations: 4 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.8571, allocations: 4 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.8572, allocations: 19.88 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.8572, allocations: 19.91 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.8573, allocations: 46.5 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8573, allocations: 0 / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8573, allocations: 0 / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.8574, allocations: 4 kB / 1.276 GB, free: 2.074 MB / 0.9669 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.0005395/0.8579, allocations: 289.9 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.8579, allocations: 8.031 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.858, allocations: 8.922 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8581, allocations: 110.5 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.8581, allocations: 4.375 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.8581, allocations: 8.312 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.8583, allocations: 65.98 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8583, allocations: 0 / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.8583, allocations: 0 / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.8583, allocations: 0 / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.61e-05/0.8584, allocations: 27.98 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.8589, allocations: 271.8 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.859, allocations: 54.56 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.859, allocations: 24.94 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.859, allocations: 0 / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.8592, allocations: 75.38 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.8592, allocations: 0 / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002474/0.8595, allocations: 101.9 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.8595, allocations: 55.41 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.8596, allocations: 113.9 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.8596, allocations: 37.64 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.8597, allocations: 80.14 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.8597, allocations: 23.84 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.8597, allocations: 29.66 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8599, allocations: 322.8 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.8599, allocations: 16 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.86, allocations: 47.42 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.291e-05/0.8601, allocations: 71.36 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8601, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001649/0.8602, allocations: 97.5 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.8603, allocations: 10.19 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8603, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8603, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.8604, allocations: 12.03 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8604, allocations: 4 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.8604, allocations: 15.92 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.8604, allocations: 4 kB / 1.278 GB, free: 15.92 MB / 0.9825 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.832e-05/0.8605, allocations: 123.9 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.8606, allocations: 7.953 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.8606, allocations: 8.062 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8606, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8606, allocations: 4 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.8606, allocations: 3.984 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.861, allocations: 329.5 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.861, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.861, allocations: 4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.861, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.8611, allocations: 4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.8611, allocations: 3.938 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8611, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.8612, allocations: 187.5 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.8612, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.8613, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.8614, allocations: 19.92 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.8614, allocations: 7.984 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.8614, allocations: 8.281 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.8615, allocations: 87.2 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8615, allocations: 4 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002325/0.8617, allocations: 15.95 kB / 1.279 GB, free: 15.04 MB / 0.9825 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.52e-05/0.8618, allocations: 99.23 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.8619, allocations: 51.92 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8619, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.862, allocations: 27.92 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.8623, allocations: 8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.8627, allocations: 169.4 kB / 1.279 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.863, allocations: 0.6846 MB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.863, allocations: 4 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.8631, allocations: 11.44 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.8631, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.003382/0.8665, allocations: 0.8179 MB / 1.281 GB, free: 13.12 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.958752998150885]