Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001593/0.001593, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 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.001844/0.001844, allocations: 213.4 kB / 23.04 MB, free: 4.844 MB / 14.72 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 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 62.59 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3947, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00321/0.398, allocations: 1.493 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.3989, allocations: 442.9 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.3989, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.3989, allocations: 7.922 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.399, allocations: 15.94 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.3992, allocations: 27.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.3993, allocations: 47.91 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3994, allocations: 11.97 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.3995, allocations: 23.88 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.3995, allocations: 19.91 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3996, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.3996, allocations: 4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.3996, allocations: 15.92 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.3996, allocations: 11.94 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3998, allocations: 55.75 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3998, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3998, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3998, allocations: 7.984 kB / 1.329 GB, free: 14.74 MB / 1.029 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.0005673/0.4003, allocations: 278.2 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4004, allocations: 12.03 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.4004, allocations: 8.875 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.4006, allocations: 106.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.4006, allocations: 8.312 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.4006, allocations: 8.375 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4008, allocations: 61.98 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4008, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4008, allocations: 7.984 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4008, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.4009, allocations: 23.98 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.4014, allocations: 236.4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4015, allocations: 50.56 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.4016, allocations: 24.94 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.4016, allocations: 4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.4018, allocations: 75.41 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.4018, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002446/0.402, allocations: 113.5 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.4021, allocations: 51.41 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.4021, allocations: 105.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.4022, allocations: 29.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.4022, allocations: 92.08 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.4022, allocations: 19.84 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.4023, allocations: 29.7 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4024, allocations: 318.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.4025, allocations: 23.98 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.4025, allocations: 51.3 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.077e-05/0.4026, allocations: 59.44 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4026, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001575/0.4028, allocations: 105.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4028, allocations: 5.406 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4028, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4028, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.4029, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4029, allocations: 4.031 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.403, allocations: 15.94 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.403, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 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.0001049/0.4031, allocations: 124.5 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.4031, allocations: 4.281 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.4031, allocations: 12.05 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4031, allocations: 3.984 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4031, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4032, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.4036, allocations: 310 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4036, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.4036, allocations: 8.453 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4036, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4036, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4036, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.4036, allocations: 3.938 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.4038, allocations: 191.4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.4038, allocations: 3.953 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.4038, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.4039, allocations: 11.98 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.404, allocations: 11.92 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.404, allocations: 7.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.953e-05/0.404, allocations: 83.28 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.404, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002288/0.4043, allocations: 15.94 kB / 1.332 GB, free: 11.79 MB / 1.029 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.0001084/0.4044, allocations: 105.2 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.4045, allocations: 47.91 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4045, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.4046, allocations: 28 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.405, allocations: 15.98 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.4055, allocations: 175.3 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.862e-05/0.4056, allocations: 75.23 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.4056, allocations: 11.44 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4056, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of Templates: time 0.0025/0.4081, allocations: 0.8919 MB / 1.333 GB, free: 10.39 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.095350823132321]