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.001877/0.001877, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002148/0.002148, allocations: 193.5 kB / 22.17 MB, free: 5.656 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 2.06/2.06, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002015/0.002015, allocations: 63.91 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7507, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002748/0.7535, allocations: 1.5 MB / 1.275 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.7544, allocations: 440.5 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.7544, allocations: 0 / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.7544, allocations: 3.938 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.7545, allocations: 15.86 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.7546, allocations: 23.97 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.7547, allocations: 51.84 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.7548, allocations: 15.98 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.7549, allocations: 19.92 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.7549, allocations: 19.92 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.755, allocations: 4 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.755, allocations: 4 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.755, allocations: 15.92 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.7552, allocations: 19.92 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.7553, allocations: 46.48 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.7553, allocations: 3.938 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7553, allocations: 0 / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.7553, allocations: 0 / 1.276 GB, free: 2.387 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.0006985/0.756, allocations: 371.3 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.756, allocations: 8.031 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.7561, allocations: 4.938 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.7562, allocations: 172.3 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.7562, allocations: 4.375 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.7562, allocations: 4.375 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.7564, allocations: 61.94 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.7564, allocations: 0 / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.7564, allocations: 7.984 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7564, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.758e-05/0.7565, allocations: 31.97 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.7571, allocations: 292.8 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.7572, allocations: 54.5 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.7573, allocations: 24.94 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.7573, allocations: 8 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.7574, allocations: 79.22 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.7574, allocations: 0 / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002608/0.7577, allocations: 97.61 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.7578, allocations: 51.41 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.7579, allocations: 109.8 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.7579, allocations: 33.7 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.7579, allocations: 92.06 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.758, allocations: 23.84 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.758, allocations: 25.72 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7582, allocations: 322.8 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.7582, allocations: 19.94 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.7583, allocations: 51.36 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.586e-05/0.7584, allocations: 67.36 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7584, allocations: 0 / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000156/0.7586, allocations: 97.56 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7586, allocations: 8 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7586, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.7586, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.7587, allocations: 11.94 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.7587, allocations: 8.031 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.7588, allocations: 11.98 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.7588, allocations: 4 kB / 1.278 GB, free: 24 kB / 0.9669 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.0001223/0.7589, allocations: 123.8 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.7589, allocations: 3.953 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.7589, allocations: 12.25 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.7589, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7589, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.7589, allocations: 15.91 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007549/0.7597, allocations: 358.8 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7597, allocations: 4 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.7597, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7597, allocations: 4 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.7597, allocations: 4 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7597, allocations: 3.938 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7597, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.7599, allocations: 183.4 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.7601, allocations: 81.11 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.7601, allocations: 4 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.7602, allocations: 11.92 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.7603, allocations: 7.984 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.7603, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.7603, allocations: 87.22 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7603, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002547/0.7606, allocations: 23.95 kB / 1.279 GB, free: 15.01 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 0.0002649/0.7608, allocations: 99.23 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.761, allocations: 55.86 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.761, allocations: 0 / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.146e-05/0.761, allocations: 23.98 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.7613, allocations: 9.719 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.7618, allocations: 173.6 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.7623, allocations: 0.6846 MB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.7624, allocations: 4 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.7624, allocations: 15.38 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.7624, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.00325/0.7656, allocations: 0.8073 MB / 1.281 GB, free: 13.09 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.042240309063345]