Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007638/0.0007638, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.00185, allocations: 448 kB / 10.42 MB, free: 276 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006854/0.0006854, allocations: 161.2 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.001901, allocations: 475.5 kB / 11.8 MB, free: 2.371 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9566/0.9566, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09096/1.048, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.311/2.311, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2455/2.557, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 4 kB / 0.8189 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.203e-05, allocations: 4.703 kB / 0.8189 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002231/0.002253, allocations: 1.584 MB / 0.8204 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000537/0.00279, allocations: 474.6 kB / 0.8209 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.002818, allocations: 4 kB / 0.8209 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.002846, allocations: 7.922 kB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/0.002901, allocations: 7.875 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.961e-05/0.00299, allocations: 27.84 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.003063, allocations: 47.86 kB / 0.821 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.003147, allocations: 15.97 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.003223, allocations: 35.91 kB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.003284, allocations: 11.98 kB / 0.8211 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.003306, allocations: 7.938 kB / 0.8211 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.003316, allocations: 8 kB / 0.8211 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.003335, allocations: 8 kB / 0.8211 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.003358, allocations: 11.98 kB / 0.8211 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.272e-05/0.003441, allocations: 27.91 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.003453, allocations: 0 / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003454, allocations: 0 / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.003465, allocations: 0 / 0.8211 GB, free: 260 kB / 0.7917 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.0003702/0.003836, allocations: 276.4 kB / 0.8214 GB, free: 15.96 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.003875, allocations: 8.031 kB / 0.8214 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.003904, allocations: 4.938 kB / 0.8214 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.003981, allocations: 121.7 kB / 0.8215 GB, free: 15.8 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.003991, allocations: 8.375 kB / 0.8215 GB, free: 15.8 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.004003, allocations: 4.375 kB / 0.8215 GB, free: 15.79 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.493e-05/0.004068, allocations: 50.23 kB / 0.8216 GB, free: 15.74 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.004073, allocations: 192 / 0.8216 GB, free: 15.74 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.004079, allocations: 384 / 0.8216 GB, free: 15.74 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004084, allocations: 3.938 kB / 0.8216 GB, free: 15.73 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.294e-05/0.004107, allocations: 11.94 kB / 0.8216 GB, free: 15.72 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.004339, allocations: 184.2 kB / 0.8218 GB, free: 15.53 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 6.746e-05/0.004407, allocations: 46.59 kB / 0.8218 GB, free: 15.47 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.004427, allocations: 16.86 kB / 0.8218 GB, free: 15.45 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-06/0.004432, allocations: 0 / 0.8218 GB, free: 15.45 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.975e-05/0.004522, allocations: 71.3 kB / 0.8219 GB, free: 15.37 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.004523, allocations: 0 / 0.8219 GB, free: 15.37 MB / 0.8074 GB Notification: Performance of matching and sorting (n=9): time 0.000113/0.004636, allocations: 69.61 kB / 0.822 GB, free: 15.3 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.004672, allocations: 51.41 kB / 0.822 GB, free: 15.23 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.004722, allocations: 114.7 kB / 0.8221 GB, free: 15.11 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004734, allocations: 29.7 kB / 0.8221 GB, free: 15.07 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.004764, allocations: 88.09 kB / 0.8222 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.004791, allocations: 31.83 kB / 0.8223 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.00482, allocations: 25.7 kB / 0.8223 GB, free: 14.92 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.004884, allocations: 318.8 kB / 0.8226 GB, free: 14.6 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.004896, allocations: 8 kB / 0.8226 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.004922, allocations: 39.36 kB / 0.8226 GB, free: 14.54 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.004964, allocations: 51.34 kB / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004966, allocations: 0 / 0.8227 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.958e-05/0.005035, allocations: 77.53 kB / 0.8227 GB, free: 14.4 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005048, allocations: 5.406 kB / 0.8228 GB, free: 14.39 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005052, allocations: 3.938 kB / 0.8228 GB, free: 14.39 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.005063, allocations: 8.031 kB / 0.8228 GB, free: 14.38 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.005119, allocations: 15.94 kB / 0.8228 GB, free: 14.37 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.005122, allocations: 0 / 0.8228 GB, free: 14.37 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.005155, allocations: 15.92 kB / 0.8228 GB, free: 14.35 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.00516, allocations: 4 kB / 0.8228 GB, free: 14.35 MB / 0.8074 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 5.196e-05/0.005212, allocations: 113.8 kB / 0.8229 GB, free: 14.23 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.005222, allocations: 7.938 kB / 0.8229 GB, free: 14.22 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.005244, allocations: 8.125 kB / 0.8229 GB, free: 14.21 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.005247, allocations: 4 kB / 0.8229 GB, free: 14.21 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.005248, allocations: 4 kB / 0.8229 GB, free: 14.2 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.005252, allocations: 3.984 kB / 0.8229 GB, free: 14.2 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.005439, allocations: 226.7 kB / 0.8232 GB, free: 13.95 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.005441, allocations: 3.938 kB / 0.8232 GB, free: 13.95 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.005457, allocations: 4 kB / 0.8232 GB, free: 13.95 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.005463, allocations: 4 kB / 0.8232 GB, free: 13.94 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005464, allocations: 3.938 kB / 0.8232 GB, free: 13.94 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.005468, allocations: 64 / 0.8232 GB, free: 13.94 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.005472, allocations: 7.984 kB / 0.8232 GB, free: 13.93 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.005473, allocations: 0 / 0.8232 GB, free: 13.93 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.436e-05/0.005547, allocations: 155.5 kB / 0.8233 GB, free: 13.76 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.005558, allocations: 15.98 kB / 0.8233 GB, free: 13.75 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.005592, allocations: 0 / 0.8233 GB, free: 13.75 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.005621, allocations: 12.2 kB / 0.8233 GB, free: 13.73 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.005626, allocations: 4 kB / 0.8234 GB, free: 13.73 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 1.386e-05/0.00564, allocations: 12.84 kB / 0.8234 GB, free: 13.71 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.00564, allocations: 4 kB / 0.8234 GB, free: 13.71 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.000128/0.005768, allocations: 11.95 kB / 0.8234 GB, free: 13.7 MB / 0.8074 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 7.352e-05/0.005841, allocations: 88.41 kB / 0.8235 GB, free: 13.61 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 7.63e-05/0.005918, allocations: 49.28 kB / 0.8235 GB, free: 13.55 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.005924, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.005961, allocations: 32.77 kB / 0.8235 GB, free: 13.52 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.006122, allocations: 71.34 kB / 0.8236 GB, free: 13.44 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.006487, allocations: 155.2 kB / 0.8238 GB, free: 13.26 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.00652, allocations: 63.34 kB / 0.8238 GB, free: 13.18 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.006542, allocations: 4 kB / 0.8238 GB, free: 13.18 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.006592, allocations: 55.38 kB / 0.8239 GB, free: 13.12 MB / 0.8074 GB Notification: Performance of SimCode: time 7.01e-07/0.006593, allocations: 0 / 0.8239 GB, free: 13.12 MB / 0.8074 GB Notification: Performance of Templates: time 0.00218/0.008773, allocations: 0.8732 MB / 0.8247 GB, free: 12.27 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.966629612259567]