Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.431/2.431, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.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.001371/0.001371, allocations: 191.4 kB / 329.5 MB, free: 1.164 MB / 250.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 2.686/2.686, allocations: 225.6 MB / 0.6001 GB, free: 500 kB / 426.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.0009477/0.0009478, allocations: 104.1 kB / 0.7074 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006579, allocations: 16.03 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2456, allocations: 109.1 MB / 0.9308 GB, free: 24.87 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002176/0.2478, allocations: 1.485 MB / 0.9322 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.249, allocations: 0.5107 MB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.2492, allocations: 3.938 kB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.2493, allocations: 15.86 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.118e-05/0.2494, allocations: 19.78 kB / 0.9327 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.2497, allocations: 55.94 kB / 0.9328 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.25, allocations: 159.5 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2502, allocations: 53.77 kB / 0.933 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.2503, allocations: 43.73 kB / 0.933 GB, free: 22.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.884e-05/0.2504, allocations: 51.69 kB / 0.9331 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.2504, allocations: 4 kB / 0.9331 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.2504, allocations: 4 kB / 0.9331 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.2505, allocations: 19.92 kB / 0.9331 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.2505, allocations: 49.64 kB / 0.9332 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.2507, allocations: 87.98 kB / 0.9332 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2507, allocations: 0 / 0.9332 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2507, allocations: 0 / 0.9332 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2507, allocations: 0 / 0.9332 GB, free: 22.29 MB / 0.5886 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.0008312/0.2515, allocations: 457.8 kB / 0.9337 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2516, allocations: 12.02 kB / 0.9337 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.2517, allocations: 24.66 kB / 0.9337 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.252, allocations: 225.1 kB / 0.9339 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.252, allocations: 8.375 kB / 0.9339 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.2521, allocations: 16.36 kB / 0.934 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.2525, allocations: 154 kB / 0.9341 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2525, allocations: 0 / 0.9341 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.2525, allocations: 4 kB / 0.9341 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2525, allocations: 4 kB / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.2529, allocations: 83.88 kB / 0.9342 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.254, allocations: 0.743 MB / 0.9349 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.2543, allocations: 50.55 kB / 0.935 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.2545, allocations: 44.83 kB / 0.935 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.2545, allocations: 4 kB / 0.935 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.2549, allocations: 126.7 kB / 0.9351 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 3.106e-06/0.2549, allocations: 0 / 0.9351 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0007368/0.2557, allocations: 177.6 kB / 0.9353 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.2558, allocations: 136.5 kB / 0.9354 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.256, allocations: 210.6 kB / 0.9356 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.256, allocations: 25.7 kB / 0.9357 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.2561, allocations: 139.6 kB / 0.9358 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.2561, allocations: 35.61 kB / 0.9358 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.2562, allocations: 4 kB / 0.9358 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.2563, allocations: 330.8 kB / 0.9361 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2565, allocations: 43.97 kB / 0.9362 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.2567, allocations: 146.5 kB / 0.9363 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2569, allocations: 59.92 kB / 0.9364 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.257, allocations: 8 kB / 0.9364 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008001/0.2578, allocations: 213.4 kB / 0.9366 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.2578, allocations: 11.94 kB / 0.9366 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2578, allocations: 4 kB / 0.9366 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.2579, allocations: 4 kB / 0.9366 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.2582, allocations: 39.92 kB / 0.9367 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.2582, allocations: 4 kB / 0.9367 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.2585, allocations: 32.02 kB / 0.9367 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.2585, allocations: 12 kB / 0.9367 GB, free: 18.43 MB / 0.5886 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 0.0001383/0.2587, allocations: 141.1 kB / 0.9368 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.2587, allocations: 15.81 kB / 0.9368 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.2588, allocations: 21.39 kB / 0.9369 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2588, allocations: 4 kB / 0.9369 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2588, allocations: 256 / 0.9369 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2589, allocations: 4 kB / 0.9369 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.26, allocations: 0.5404 MB / 0.9374 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.26, allocations: 0 / 0.9374 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.2602, allocations: 23.98 kB / 0.9374 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2602, allocations: 0 / 0.9374 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.2603, allocations: 4 kB / 0.9374 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2603, allocations: 0 / 0.9374 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2603, allocations: 8.219 kB / 0.9374 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.261, allocations: 380.1 kB / 0.9378 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.2611, allocations: 88.92 kB / 0.9379 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.2611, allocations: 12.03 kB / 0.9379 GB, free: 17.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.2614, allocations: 15.98 kB / 0.9379 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.2615, allocations: 15.92 kB / 0.9379 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2616, allocations: 4 kB / 0.9379 GB, free: 17.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001324/0.2617, allocations: 144.4 kB / 0.9381 GB, free: 16.92 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2617, allocations: 0 / 0.9381 GB, free: 16.92 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004353/0.2622, allocations: 31.91 kB / 0.9381 GB, free: 16.89 MB / 0.5886 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 0.0001282/0.2623, allocations: 115.7 kB / 0.9382 GB, free: 16.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.2628, allocations: 128.1 kB / 0.9383 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.2628, allocations: 3.938 kB / 0.9383 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.2631, allocations: 52.72 kB / 0.9384 GB, free: 16.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.2639, allocations: 59.86 kB / 0.9384 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.2646, allocations: 390.6 kB / 0.9388 GB, free: 16.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2648, allocations: 0.7245 MB / 0.9395 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.265, allocations: 21.67 kB / 0.9395 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.265, allocations: 19.44 kB / 0.9396 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/0.265, allocations: 0 / 0.9396 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.006734/0.2718, allocations: 1.747 MB / 0.9413 GB, free: 13.59 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)