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.001342/0.001342, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001506/0.001506, allocations: 218.3 kB / 23.01 MB, free: 4.605 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.25/3.25, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002021/0.002021, allocations: 63.33 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.365, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002825/0.3679, allocations: 1.51 MB / 1.356 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.3687, allocations: 478.8 kB / 1.356 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.3688, allocations: 4 kB / 1.356 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.3688, allocations: 3.938 kB / 1.356 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.3689, allocations: 11.94 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.369, allocations: 27.91 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3691, allocations: 51.84 kB / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3692, allocations: 11.98 kB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.3693, allocations: 19.92 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.3694, allocations: 27.86 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3694, allocations: 4 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.3694, allocations: 4 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.3694, allocations: 7.984 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.3695, allocations: 31.8 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3696, allocations: 43.81 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3696, allocations: 4 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3696, allocations: 0 / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3696, allocations: 0 / 1.356 GB, free: 5.73 MB / 1.045 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.0005175/0.3701, allocations: 290.2 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3701, allocations: 8.031 kB / 1.357 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.3702, allocations: 4.938 kB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3703, allocations: 110.5 kB / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3703, allocations: 4.375 kB / 1.357 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3703, allocations: 8.375 kB / 1.357 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.3705, allocations: 61.98 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3705, allocations: 0 / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3705, allocations: 0 / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3705, allocations: 0 / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.381e-05/0.3706, allocations: 31.92 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.3711, allocations: 275.8 kB / 1.357 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3712, allocations: 50.56 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.3712, allocations: 24.94 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.3712, allocations: 8.031 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3714, allocations: 75.33 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3714, allocations: 0 / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002417/0.3717, allocations: 97.89 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3717, allocations: 59.39 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.3718, allocations: 101.9 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3718, allocations: 29.8 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.3719, allocations: 96.02 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3719, allocations: 23.8 kB / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.372, allocations: 29.7 kB / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3721, allocations: 318.8 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.3721, allocations: 23.98 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/0.3722, allocations: 47.36 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.225e-05/0.3723, allocations: 59.44 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3723, allocations: 3.938 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001501/0.3724, allocations: 93.61 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3725, allocations: 4.031 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3725, allocations: 8 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3725, allocations: 0 / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3726, allocations: 8 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3726, allocations: 7.984 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.3726, allocations: 11.95 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3726, allocations: 7.938 kB / 1.358 GB, free: 3.578 MB / 1.045 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.913e-05/0.3727, allocations: 122.9 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.3728, allocations: 0 / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.3728, allocations: 23.98 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3728, allocations: 0 / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3728, allocations: 0 / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3728, allocations: 0 / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.3732, allocations: 333.4 kB / 1.359 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3732, allocations: 4 kB / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.3732, allocations: 0 / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3732, allocations: 4 kB / 1.359 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3733, allocations: 4 kB / 1.359 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3733, allocations: 11.88 kB / 1.359 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3733, allocations: 0 / 1.359 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.3734, allocations: 187.5 kB / 1.359 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.3735, allocations: 4.281 kB / 1.359 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3735, allocations: 3.984 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.3736, allocations: 11.88 kB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.3736, allocations: 15.97 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3736, allocations: 4 kB / 1.359 GB, free: 2.789 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.3737, allocations: 83.27 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3737, allocations: 0 / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002384/0.3739, allocations: 16 kB / 1.359 GB, free: 2.691 MB / 1.045 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.0001079/0.374, allocations: 98.12 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.3741, allocations: 47.92 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3741, allocations: 0 / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.3742, allocations: 27.92 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3745, allocations: 16.05 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.3749, allocations: 183.2 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3753, allocations: 0.6884 MB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.3753, allocations: 11.44 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3753, allocations: 0 / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of Templates: time 0.002426/0.3777, allocations: 0.8716 MB / 1.361 GB, free: 0.6914 MB / 1.045 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.398180018004496]