Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 255.9 MB / 271.2 MB, free: 8.867 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.001/0.001, allocations: 182.7 kB / 330.8 MB, free: 484 kB / 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 1.672/1.672, allocations: 225.7 MB / 0.6016 GB, free: 1.555 MB / 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.0008427/0.0008427, allocations: 99.59 kB / 0.709 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003999, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 109.2 MB / 0.9328 GB, free: 6.227 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001837/0.2269, allocations: 1.409 MB / 0.9341 GB, free: 4.805 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0006295/0.2276, allocations: 279.3 kB / 0.9344 GB, free: 4.531 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2277, allocations: 0 / 0.9344 GB, free: 4.531 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.2279, allocations: 23.8 kB / 0.9344 GB, free: 4.508 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.228, allocations: 19.78 kB / 0.9345 GB, free: 4.488 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.2283, allocations: 47.97 kB / 0.9345 GB, free: 4.441 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.2285, allocations: 135.5 kB / 0.9346 GB, free: 4.309 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2287, allocations: 57.44 kB / 0.9347 GB, free: 4.25 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.2287, allocations: 35.86 kB / 0.9347 GB, free: 4.215 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.18e-05/0.2288, allocations: 51.64 kB / 0.9348 GB, free: 4.164 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.2289, allocations: 4 kB / 0.9348 GB, free: 4.16 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.2289, allocations: 4 kB / 0.9348 GB, free: 4.156 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.2289, allocations: 15.92 kB / 0.9348 GB, free: 4.141 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.229, allocations: 81.3 kB / 0.9349 GB, free: 4.055 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2291, allocations: 127.7 kB / 0.935 GB, free: 3.93 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.2292, allocations: 4 kB / 0.935 GB, free: 3.926 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2292, allocations: 0 / 0.935 GB, free: 3.926 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2292, allocations: 0 / 0.935 GB, free: 3.926 MB / 0.573 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.0006439/0.2298, allocations: 438.9 kB / 0.9354 GB, free: 3.445 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2299, allocations: 15.98 kB / 0.9354 GB, free: 3.43 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.2299, allocations: 20.75 kB / 0.9354 GB, free: 3.41 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.2301, allocations: 213.4 kB / 0.9356 GB, free: 3.164 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2302, allocations: 8.375 kB / 0.9357 GB, free: 3.156 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.2302, allocations: 12.38 kB / 0.9357 GB, free: 3.145 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.2305, allocations: 152.7 kB / 0.9358 GB, free: 2.977 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2305, allocations: 8.125 kB / 0.9358 GB, free: 2.969 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.2306, allocations: 3.938 kB / 0.9358 GB, free: 2.965 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2306, allocations: 7.938 kB / 0.9358 GB, free: 2.957 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.2308, allocations: 87.88 kB / 0.9359 GB, free: 2.871 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.2317, allocations: 0.7392 MB / 0.9366 GB, free: 2.066 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.2319, allocations: 50.56 kB / 0.9367 GB, free: 2.008 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.232, allocations: 40.83 kB / 0.9367 GB, free: 1.965 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.232, allocations: 3.938 kB / 0.9367 GB, free: 1.961 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.2323, allocations: 126.7 kB / 0.9369 GB, free: 1.812 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.2323, allocations: 4 kB / 0.9369 GB, free: 1.809 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0005154/0.2328, allocations: 181.3 kB / 0.937 GB, free: 1.625 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.2329, allocations: 136.8 kB / 0.9372 GB, free: 1.461 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.2331, allocations: 184.3 kB / 0.9373 GB, free: 1.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2331, allocations: 29.7 kB / 0.9374 GB, free: 1.234 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.2332, allocations: 124.1 kB / 0.9375 GB, free: 1.109 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.2332, allocations: 27.61 kB / 0.9375 GB, free: 1.082 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.2332, allocations: 4 kB / 0.9375 GB, free: 1.078 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.2333, allocations: 326.8 kB / 0.9378 GB, free: 0.75 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.2334, allocations: 43.97 kB / 0.9379 GB, free: 0.707 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2336, allocations: 143.7 kB / 0.938 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.2338, allocations: 183.8 kB / 0.9382 GB, free: 308 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2338, allocations: 0 / 0.9382 GB, free: 308 kB / 0.573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003342/0.2342, allocations: 197.1 kB / 0.9384 GB, free: 104 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2342, allocations: 11.94 kB / 0.9384 GB, free: 92 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2342, allocations: 0 / 0.9384 GB, free: 92 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2342, allocations: 8 kB / 0.9384 GB, free: 84 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.2343, allocations: 28.39 kB / 0.9384 GB, free: 56 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2344, allocations: 7.938 kB / 0.9384 GB, free: 48 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.2345, allocations: 35.81 kB / 0.9385 GB, free: 12 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2345, allocations: 11.94 kB / 0.9385 GB, free: 0 / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (18): * Single equations (assignments): 18 * 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 0.0001676/0.2347, allocations: 130.9 kB / 0.9386 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.2347, allocations: 19.75 kB / 0.9386 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.2348, allocations: 25.39 kB / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2348, allocations: 4 kB / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2348, allocations: 0 / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2348, allocations: 0 / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.2357, allocations: 0.525 MB / 0.9391 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2357, allocations: 0 / 0.9391 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.2358, allocations: 19.98 kB / 0.9392 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2358, allocations: 0 / 0.9392 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.2358, allocations: 4.312 kB / 0.9392 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2358, allocations: 7.938 kB / 0.9392 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2358, allocations: 8 kB / 0.9392 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.2364, allocations: 372.4 kB / 0.9395 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.2365, allocations: 96.89 kB / 0.9396 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.2365, allocations: 12.02 kB / 0.9396 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2367, allocations: 15.98 kB / 0.9397 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.2368, allocations: 23.92 kB / 0.9397 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2368, allocations: 4 kB / 0.9397 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001223/0.2369, allocations: 139 kB / 0.9398 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2369, allocations: 0 / 0.9398 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002932/0.2372, allocations: 24 kB / 0.9398 GB, free: 14.48 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 (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.0001947/0.2374, allocations: 115.2 kB / 0.94 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.2378, allocations: 123.8 kB / 0.9401 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2378, allocations: 0 / 0.9401 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.2379, allocations: 56.84 kB / 0.9401 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.2384, allocations: 43.95 kB / 0.9402 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.2391, allocations: 400.8 kB / 0.9405 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.2395, allocations: 0.7205 MB / 0.9413 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.2395, allocations: 13.42 kB / 0.9413 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.2396, allocations: 15.44 kB / 0.9413 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of SimCode: time 3.196e-06/0.2396, allocations: 0 / 0.9413 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of Templates: time 0.004509/0.2441, allocations: 1.479 MB / 0.9427 GB, free: 11.47 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)