Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.684/1.684, allocations: 291.7 MB / 306.8 MB, free: 7.699 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.0009704/0.0009709, allocations: 188.1 kB / 375.4 MB, free: 5.117 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.508/1.508, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.0008054/0.0008055, allocations: 101.7 kB / 0.7699 GB, free: 50.48 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6407, allocations: 118.1 MB / 1.011 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001848/0.6426, allocations: 1.487 MB / 1.012 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.6433, allocations: 0.5105 MB / 1.013 GB, free: 57.99 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.6435, allocations: 2.125 kB / 1.013 GB, free: 57.99 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.6436, allocations: 18.66 kB / 1.013 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.6437, allocations: 18.69 kB / 1.013 GB, free: 57.97 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.6439, allocations: 49.38 kB / 1.013 GB, free: 57.97 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.6441, allocations: 153.6 kB / 1.013 GB, free: 57.94 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.6443, allocations: 50.11 kB / 1.013 GB, free: 57.94 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.6444, allocations: 44.3 kB / 1.013 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.6445, allocations: 44.19 kB / 1.013 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.6445, allocations: 5.344 kB / 1.013 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/0.6445, allocations: 5.625 kB / 1.013 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.6446, allocations: 22.09 kB / 1.013 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.6446, allocations: 49.86 kB / 1.013 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.6448, allocations: 93.5 kB / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.6448, allocations: 0 / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6448, allocations: 0 / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.6448, allocations: 1.781 kB / 1.013 GB, free: 57.86 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006132/0.6454, allocations: 455.2 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.6455, allocations: 8.312 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.6455, allocations: 20.16 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.6457, allocations: 235.4 kB / 1.014 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6457, allocations: 8 kB / 1.014 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.6458, allocations: 15.38 kB / 1.014 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.646, allocations: 162.2 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6461, allocations: 3.047 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.6461, allocations: 0 / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6461, allocations: 4.219 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.6463, allocations: 79.77 kB / 1.014 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.6471, allocations: 0.7478 MB / 1.015 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.6472, allocations: 52.89 kB / 1.015 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.6473, allocations: 41.97 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.6473, allocations: 2.969 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.6476, allocations: 123.4 kB / 1.015 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.6476, allocations: 0 / 1.015 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004267/0.648, allocations: 185.1 kB / 1.015 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.6481, allocations: 137.4 kB / 1.016 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.6482, allocations: 187.8 kB / 1.016 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.6482, allocations: 35.47 kB / 1.016 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.6483, allocations: 127.9 kB / 1.016 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.6483, allocations: 34.17 kB / 1.016 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.6483, allocations: 3.938 kB / 1.016 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.6484, allocations: 332.8 kB / 1.016 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.6485, allocations: 41.86 kB / 1.016 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.6486, allocations: 152.8 kB / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.6489, allocations: 214 kB / 1.017 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6489, allocations: 0 / 1.017 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003331/0.6493, allocations: 217.7 kB / 1.017 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.6493, allocations: 14.38 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6493, allocations: 2.812 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6493, allocations: 10.44 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.6494, allocations: 38.73 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.6494, allocations: 9.047 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.6496, allocations: 36.08 kB / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.6496, allocations: 9.594 kB / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.548e-05/0.6497, allocations: 139.8 kB / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.6497, allocations: 18.69 kB / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.6498, allocations: 24.44 kB / 1.017 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6498, allocations: 0 / 1.017 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6498, allocations: 3.625 kB / 1.017 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6498, allocations: 0 / 1.017 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.6504, allocations: 0.5329 MB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6504, allocations: 0 / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.6506, allocations: 25 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6506, allocations: 2.875 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.6506, allocations: 5.781 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6506, allocations: 1.125 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6506, allocations: 3.938 kB / 1.018 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.651, allocations: 379.6 kB / 1.018 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.651, allocations: 91.89 kB / 1.018 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.6511, allocations: 10.23 kB / 1.018 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.6512, allocations: 16.53 kB / 1.018 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.6513, allocations: 18.08 kB / 1.018 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.6513, allocations: 6.094 kB / 1.018 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.163e-05/0.6514, allocations: 144.3 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6514, allocations: 4 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002882/0.6517, allocations: 25.03 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.636e-05/0.6518, allocations: 108.7 kB / 1.018 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.6521, allocations: 126.6 kB / 1.019 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6521, allocations: 1.281 kB / 1.019 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.6522, allocations: 55.75 kB / 1.019 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.6527, allocations: 61.11 kB / 1.019 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.6532, allocations: 386.4 kB / 1.019 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.6534, allocations: 0.7245 MB / 1.02 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.113e-05/0.6534, allocations: 19.58 kB / 1.02 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.6535, allocations: 20.03 kB / 1.02 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.6535, allocations: 0 / 1.02 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.003902/0.6574, allocations: 1.752 MB / 1.022 GB, free: 53.16 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)