Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.55/1.55, allocations: 291.7 MB / 306.8 MB, free: 7.715 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008892/0.0008892, allocations: 183.9 kB / 375.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 225.7 MB / 0.6538 GB, free: 13.64 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008322/0.0008323, allocations: 103.5 kB / 0.7699 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 13.12 kB / 0.8956 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.543, allocations: 118.1 MB / 1.011 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001521/0.5445, allocations: 1.187 MB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.5451, allocations: 408.4 kB / 1.012 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.5452, allocations: 0 / 1.012 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.5452, allocations: 2.016 kB / 1.012 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.278e-05/0.5453, allocations: 5.891 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.5454, allocations: 25.06 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.062e-05/0.5455, allocations: 46.25 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.5456, allocations: 12.19 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.5456, allocations: 18.23 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.5457, allocations: 22.64 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.5457, allocations: 0 / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.5457, allocations: 3 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.5458, allocations: 11.17 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.5458, allocations: 36.58 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.84e-05/0.5458, allocations: 31.75 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5459, allocations: 0 / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5459, allocations: 4.5 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.5459, allocations: 1.562 kB / 1.013 GB, free: 57.24 MB / 0.7136 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.000374/0.5463, allocations: 351.6 kB / 1.013 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.5463, allocations: 10.59 kB / 1.013 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.5463, allocations: 8.562 kB / 1.013 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.881e-05/0.5464, allocations: 164.5 kB / 1.013 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.5464, allocations: 9.688 kB / 1.013 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.5464, allocations: 5.656 kB / 1.013 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.403e-05/0.5465, allocations: 62.38 kB / 1.013 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5466, allocations: 3.5 kB / 1.013 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5466, allocations: 3.938 kB / 1.013 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.5466, allocations: 3.062 kB / 1.013 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.5466, allocations: 22.34 kB / 1.013 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.547, allocations: 318.2 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.965e-05/0.5471, allocations: 54 kB / 1.014 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.5472, allocations: 25.88 kB / 1.014 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.5472, allocations: 0 / 1.014 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.5473, allocations: 75.53 kB / 1.014 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.5473, allocations: 0.5 kB / 1.014 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000177/0.5475, allocations: 97.55 kB / 1.014 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.5475, allocations: 57.75 kB / 1.014 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.5476, allocations: 107.8 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.5476, allocations: 29.52 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.5476, allocations: 87.45 kB / 1.014 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.5477, allocations: 22.55 kB / 1.014 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.5477, allocations: 2.406 kB / 1.014 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.5477, allocations: 324.7 kB / 1.014 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.5478, allocations: 13.03 kB / 1.014 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.5478, allocations: 47.41 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.96e-05/0.5479, allocations: 68.67 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5479, allocations: 0.6875 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001179/0.548, allocations: 99.48 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.548, allocations: 3.656 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.548, allocations: 0.9375 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.548, allocations: 7.469 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.5481, allocations: 6.094 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5481, allocations: 2.906 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.5482, allocations: 13.83 kB / 1.015 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.5482, allocations: 6.219 kB / 1.015 GB, free: 55.53 MB / 0.7136 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.5483, allocations: 136.7 kB / 1.015 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.5483, allocations: 2.875 kB / 1.015 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.5483, allocations: 7.844 kB / 1.015 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5483, allocations: 3 kB / 1.015 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5483, allocations: 1.781 kB / 1.015 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5483, allocations: 3.281 kB / 1.015 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.5486, allocations: 360.6 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5486, allocations: 1.844 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.5486, allocations: 6 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5486, allocations: 0 / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.5487, allocations: 3.422 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5487, allocations: 5.875 kB / 1.015 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5487, allocations: 4.875 kB / 1.015 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.5488, allocations: 175.3 kB / 1.015 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.5488, allocations: 85.02 kB / 1.015 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.5488, allocations: 9.281 kB / 1.015 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.5489, allocations: 9.344 kB / 1.015 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.549, allocations: 9.188 kB / 1.015 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.549, allocations: 5.359 kB / 1.015 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.162e-05/0.549, allocations: 90.38 kB / 1.016 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.549, allocations: 0 / 1.016 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001921/0.5492, allocations: 13.31 kB / 1.016 GB, free: 54.78 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.498e-05/0.5493, allocations: 105.4 kB / 1.016 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.5494, allocations: 59.05 kB / 1.016 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5494, allocations: 0.6562 kB / 1.016 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.5494, allocations: 26.17 kB / 1.016 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.5497, allocations: 11.98 kB / 1.016 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.55, allocations: 176 kB / 1.016 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.473e-05/0.5501, allocations: 0.689 MB / 1.017 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.5501, allocations: 7.922 kB / 1.017 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.5501, allocations: 10.12 kB / 1.017 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.5501, allocations: 0 / 1.017 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.002089/0.5522, allocations: 0.6544 MB / 1.017 GB, free: 53.84 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)