Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") 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.375/1.375, allocations: 255.9 MB / 271.2 MB, free: 8.91 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.0009717/0.0009719, allocations: 189 kB / 330.8 MB, free: 500 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.661/1.661, allocations: 225.7 MB / 0.6016 GB, free: 1.594 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.0007396/0.0007396, allocations: 95.58 kB / 0.709 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003987, allocations: 15.98 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 109.2 MB / 0.9327 GB, free: 6.305 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004216/0.2236, allocations: 3.685 MB / 0.9363 GB, free: 2.598 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.2271, allocations: 1.492 MB / 0.9378 GB, free: 1.098 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.2283, allocations: 35.81 kB / 0.9378 GB, free: 1.062 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.2287, allocations: 122.8 kB / 0.9379 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.2293, allocations: 186.7 kB / 0.9381 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.2306, allocations: 0.6202 MB / 0.9387 GB, free: 140 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.2317, allocations: 1.136 MB / 0.9398 GB, free: 15 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.2325, allocations: 492.2 kB / 0.9403 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.233, allocations: 349.7 kB / 0.9406 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.2334, allocations: 349.6 kB / 0.941 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.846e-05/0.2335, allocations: 31.94 kB / 0.941 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.2336, allocations: 24 kB / 0.941 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2337, allocations: 143.2 kB / 0.9412 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.2341, allocations: 414.7 kB / 0.9416 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008774/0.235, allocations: 1.012 MB / 0.9426 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.235, allocations: 0 / 0.9426 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.235, allocations: 0 / 0.9426 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.235, allocations: 0 / 0.9426 GB, free: 12.18 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002174/0.2372, allocations: 1.243 MB / 0.9438 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2372, allocations: 11.98 kB / 0.9438 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.2374, allocations: 119.5 kB / 0.9439 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.2386, allocations: 0.7353 MB / 0.9446 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/0.2387, allocations: 80.27 kB / 0.9447 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.2389, allocations: 68.38 kB / 0.9448 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.2402, allocations: 0.7446 MB / 0.9455 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2403, allocations: 0 / 0.9455 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.2403, allocations: 32 kB / 0.9455 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.2404, allocations: 20 kB / 0.9455 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.2415, allocations: 0.5204 MB / 0.946 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.245, allocations: 2.294 MB / 0.9483 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.2464, allocations: 0.6346 MB / 0.9489 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.247, allocations: 287.2 kB / 0.9492 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.2471, allocations: 8.562 kB / 0.9492 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007724/0.2478, allocations: 323.1 kB / 0.9495 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 3.456e-06/0.2478, allocations: 0 / 0.9495 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60): time 0.001761/0.2496, allocations: 0.7634 MB / 0.9502 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.2497, allocations: 85.61 kB / 0.9503 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009498/0.2506, allocations: 0.7555 MB / 0.9511 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.2507, allocations: 37.7 kB / 0.9511 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.2511, allocations: 444.5 kB / 0.9515 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.2513, allocations: 201 kB / 0.9517 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.2513, allocations: 16 kB / 0.9517 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2515, allocations: 326 kB / 0.952 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.2519, allocations: 201.2 kB / 0.9522 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.2524, allocations: 312.4 kB / 0.9525 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/0.2534, allocations: 0.5231 MB / 0.953 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2534, allocations: 0 / 0.953 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001268/0.2547, allocations: 0.6617 MB / 0.9537 GB, free: 440 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.2548, allocations: 151.2 kB / 0.9538 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2549, allocations: 7.938 kB / 0.9538 GB, free: 240 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.2549, allocations: 4 kB / 0.9538 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.2556, allocations: 151.8 kB / 0.954 GB, free: 84 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.2556, allocations: 4 kB / 0.954 GB, free: 80 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.256, allocations: 79.34 kB / 0.9541 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.2561, allocations: 20.05 kB / 0.9541 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.2561, allocations: 7.906 kB / 0.9541 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009694/0.2571, allocations: 0.5206 MB / 0.9546 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2571, allocations: 7.984 kB / 0.9546 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-06/0.2571, allocations: 7.938 kB / 0.9546 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.2577, allocations: 144 kB / 0.9547 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.2577, allocations: 4 kB / 0.9547 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.2581, allocations: 67.42 kB / 0.9548 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.2582, allocations: 20 kB / 0.9548 GB, free: 15.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003577/0.2585, allocations: 305.5 kB / 0.9551 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2586, allocations: 94.88 kB / 0.9552 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.2588, allocations: 101.2 kB / 0.9553 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.2588, allocations: 8 kB / 0.9553 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.2588, allocations: 0 / 0.9553 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2589, allocations: 3.984 kB / 0.9553 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.2611, allocations: 1.45 MB / 0.9567 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2611, allocations: 3.938 kB / 0.9567 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.2616, allocations: 119.8 kB / 0.9569 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2617, allocations: 0 / 0.9569 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.2617, allocations: 19.92 kB / 0.9569 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2617, allocations: 4 kB / 0.9569 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2617, allocations: 0 / 0.9569 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.2634, allocations: 0.9743 MB / 0.9578 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.2637, allocations: 231.6 kB / 0.958 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/0.2638, allocations: 12 kB / 0.9581 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.2643, allocations: 35.97 kB / 0.9581 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2644, allocations: 44.5 kB / 0.9581 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.2644, allocations: 19.94 kB / 0.9582 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007009/0.2651, allocations: 0.5068 MB / 0.9587 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2651, allocations: 0 / 0.9587 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007538/0.2659, allocations: 271.1 kB / 0.9589 GB, free: 10.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001766/0.2661, allocations: 127.7 kB / 0.959 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.2678, allocations: 0.8001 MB / 0.9598 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2678, allocations: 0 / 0.9598 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.2683, allocations: 271.1 kB / 0.9601 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.2694, allocations: 242.8 kB / 0.9603 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.2727, allocations: 1.936 MB / 0.9622 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.2734, allocations: 0.9901 MB / 0.9632 GB, free: 6.504 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005666/0.274, allocations: 122.7 kB / 0.9633 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.2742, allocations: 59.42 kB / 0.9633 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.2742, allocations: 0 / 0.9633 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.0173/0.2915, allocations: 8.69 MB / 0.9718 GB, free: 13.66 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)