Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 297.4 MB / 312.6 MB, free: 2.949 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.0009299/0.00093, allocations: 185.4 kB / 382.3 MB, free: 14.84 MB / 314.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.33/1.33, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0007718/0.0007719, allocations: 91.5 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 18.17 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6044/0.6048, allocations: 119.2 MB / 1.022 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002065/0.6069, allocations: 1.498 MB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.6077, allocations: 0.5079 MB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.917e-05/0.6078, allocations: 3.438 kB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.608, allocations: 16.81 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-05/0.608, allocations: 26.78 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.6082, allocations: 58.3 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.6084, allocations: 162.6 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.6086, allocations: 45.19 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.6087, allocations: 40.67 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.6088, allocations: 54.09 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.6088, allocations: 3.844 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.6088, allocations: 4.281 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.6088, allocations: 21.08 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.6089, allocations: 81.16 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.6091, allocations: 129.8 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6091, allocations: 0.6562 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6091, allocations: 0 / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6091, allocations: 0 / 1.025 GB, free: 56.35 MB / 0.698 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.000621/0.6097, allocations: 457.1 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.6098, allocations: 8.656 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.6098, allocations: 20.56 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.6101, allocations: 229.1 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.6101, allocations: 13.44 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.6101, allocations: 15.45 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.6104, allocations: 151.4 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6105, allocations: 5.781 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.6105, allocations: 6.578 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.6105, allocations: 5.562 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.6107, allocations: 81.23 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.6115, allocations: 0.7442 MB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.6117, allocations: 53.41 kB / 1.027 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.6118, allocations: 35.98 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.6118, allocations: 2.484 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.6121, allocations: 138.5 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.6121, allocations: 0 / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004558/0.6126, allocations: 180.2 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.6126, allocations: 136.2 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.6128, allocations: 200 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.6128, allocations: 25.7 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.6129, allocations: 130.3 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.6129, allocations: 32.39 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6129, allocations: 4 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.613, allocations: 330.2 kB / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.6131, allocations: 43.91 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.6133, allocations: 155.8 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.6136, allocations: 210.5 kB / 1.028 GB, free: 53.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6136, allocations: 1.25 kB / 1.028 GB, free: 53.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003567/0.6139, allocations: 225.3 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.614, allocations: 7.047 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.614, allocations: 3.5 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.614, allocations: 6.062 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6141, allocations: 35.12 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.6141, allocations: 10.88 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.6143, allocations: 36.31 kB / 1.028 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.6143, allocations: 10.31 kB / 1.028 GB, free: 53.41 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/0.6144, allocations: 142.8 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.6145, allocations: 18.92 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.6145, allocations: 20.36 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6145, allocations: 4.531 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6145, allocations: 0 / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6145, allocations: 0.6094 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.6152, allocations: 0.5292 MB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6152, allocations: 4 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.6153, allocations: 17.56 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6153, allocations: 5.875 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.6153, allocations: 9.891 kB / 1.029 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.6153, allocations: 5.406 kB / 1.029 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6153, allocations: 8.328 kB / 1.029 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.6158, allocations: 375.1 kB / 1.03 GB, free: 52.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.6158, allocations: 94.28 kB / 1.03 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.6158, allocations: 2.875 kB / 1.03 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.616, allocations: 23.11 kB / 1.03 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.6161, allocations: 16.98 kB / 1.03 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.6161, allocations: 7.219 kB / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.112e-05/0.6162, allocations: 138.9 kB / 1.03 GB, free: 52.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6162, allocations: 4 kB / 1.03 GB, free: 52.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002947/0.6165, allocations: 28.75 kB / 1.03 GB, free: 52.31 MB / 0.698 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 (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.0001177/0.6166, allocations: 109.2 kB / 1.03 GB, free: 52.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.6169, allocations: 122.5 kB / 1.03 GB, free: 52.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6169, allocations: 5.125 kB / 1.03 GB, free: 52.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.6171, allocations: 54.25 kB / 1.03 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.6176, allocations: 64.44 kB / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.6182, allocations: 406.2 kB / 1.031 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.6184, allocations: 0.727 MB / 1.031 GB, free: 51.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.1e-05/0.6184, allocations: 17.25 kB / 1.031 GB, free: 51.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.6185, allocations: 19.44 kB / 1.031 GB, free: 51.15 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6185, allocations: 0 / 1.031 GB, free: 51.15 MB / 0.698 GB Notification: Performance of Templates: time 0.004376/0.6229, allocations: 1.806 MB / 1.033 GB, free: 51.02 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)