Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005543/0.005543, allocations: 98.75 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 188.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.6 MB, free: 4.297 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 251.7 MB / 0.5094 GB, free: 3.137 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006283/0.2352, allocations: 4.355 MB / 0.8323 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003882/0.2392, allocations: 1.629 MB / 0.8339 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.2404, allocations: 35.81 kB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.2411, allocations: 174.1 kB / 0.8341 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2422, allocations: 230.1 kB / 0.8343 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.2436, allocations: 0.6718 MB / 0.8349 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.2449, allocations: 1.23 MB / 0.8361 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007253/0.2457, allocations: 0.504 MB / 0.8366 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.2463, allocations: 458 kB / 0.8371 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.2468, allocations: 465.4 kB / 0.8375 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.247, allocations: 100 kB / 0.8376 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.2471, allocations: 104 kB / 0.8377 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.2473, allocations: 239 kB / 0.8379 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.2477, allocations: 489 kB / 0.8384 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2488, allocations: 1.167 MB / 0.8395 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2488, allocations: 0 / 0.8395 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2489, allocations: 11.88 kB / 0.8395 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.2489, allocations: 0 / 0.8395 GB, free: 4.352 MB / 0.6544 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.002292/0.2512, allocations: 1.429 MB / 0.8409 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2512, allocations: 8.031 kB / 0.8409 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.2514, allocations: 132.1 kB / 0.8411 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.2527, allocations: 0.7789 MB / 0.8418 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.2528, allocations: 84.27 kB / 0.8419 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.2529, allocations: 68.38 kB / 0.842 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.2542, allocations: 0.7329 MB / 0.8427 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2542, allocations: 0 / 0.8427 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.2542, allocations: 28 kB / 0.8427 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.2543, allocations: 16 kB / 0.8427 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.2554, allocations: 0.5243 MB / 0.8432 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.2586, allocations: 2.244 MB / 0.8454 GB, free: 14.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.26, allocations: 0.6269 MB / 0.8461 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.2605, allocations: 271.3 kB / 0.8463 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.2606, allocations: 8.562 kB / 0.8463 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/0.2612, allocations: 327.1 kB / 0.8466 GB, free: 12.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.795e-06/0.2612, allocations: 0 / 0.8466 GB, free: 12.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001722/0.263, allocations: 0.7561 MB / 0.8474 GB, free: 12.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.2631, allocations: 85.67 kB / 0.8475 GB, free: 12 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.2641, allocations: 0.7674 MB / 0.8482 GB, free: 11.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.2642, allocations: 37.7 kB / 0.8482 GB, free: 11.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.2646, allocations: 453 kB / 0.8487 GB, free: 10.71 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.2648, allocations: 210.2 kB / 0.8489 GB, free: 10.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.265, allocations: 114.3 kB / 0.849 GB, free: 10.39 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2652, allocations: 326 kB / 0.8493 GB, free: 10.06 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.2656, allocations: 215.3 kB / 0.8495 GB, free: 9.852 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.2662, allocations: 308.4 kB / 0.8498 GB, free: 9.516 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.2671, allocations: 0.5075 MB / 0.8503 GB, free: 8.98 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2671, allocations: 4 kB / 0.8503 GB, free: 8.977 MB / 0.67 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001213/0.2683, allocations: 0.6584 MB / 0.8509 GB, free: 8.309 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2684, allocations: 8 kB / 0.8509 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2684, allocations: 0 / 0.8509 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2684, allocations: 8 kB / 0.8509 GB, free: 8.293 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.2691, allocations: 143.8 kB / 0.8511 GB, free: 8.152 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2691, allocations: 16.09 kB / 0.8511 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.2695, allocations: 71.53 kB / 0.8512 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.2696, allocations: 20 kB / 0.8512 GB, free: 8.047 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005885/0.2702, allocations: 361.3 kB / 0.8515 GB, free: 7.691 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004717/0.2706, allocations: 292.5 kB / 0.8518 GB, free: 7.371 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008774/0.2715, allocations: 491.7 kB / 0.8523 GB, free: 6.863 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.2715, allocations: 4 kB / 0.8523 GB, free: 6.859 MB / 0.67 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001096/0.2726, allocations: 0.6349 MB / 0.8529 GB, free: 6.215 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.2727, allocations: 4 kB / 0.8529 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2727, allocations: 4.25 kB / 0.8529 GB, free: 6.207 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.2727, allocations: 8 kB / 0.8529 GB, free: 6.199 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.2733, allocations: 139.8 kB / 0.8531 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.2733, allocations: 7.984 kB / 0.8531 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.2737, allocations: 59.66 kB / 0.8531 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.2738, allocations: 20 kB / 0.8531 GB, free: 5.977 MB / 0.67 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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.0001835/0.2739, allocations: 216.1 kB / 0.8533 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.2741, allocations: 103.3 kB / 0.8534 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.2743, allocations: 105.3 kB / 0.8535 GB, free: 5.555 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2743, allocations: 8 kB / 0.8535 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.2743, allocations: 3.938 kB / 0.8536 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.2743, allocations: 3.984 kB / 0.8536 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.2764, allocations: 1.443 MB / 0.855 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2765, allocations: 0 / 0.855 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.277, allocations: 107.8 kB / 0.8551 GB, free: 3.934 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.277, allocations: 0 / 0.8551 GB, free: 3.934 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.2771, allocations: 12 kB / 0.8551 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.2771, allocations: 15.91 kB / 0.8551 GB, free: 3.906 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2771, allocations: 0 / 0.8551 GB, free: 3.906 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.2788, allocations: 0.9679 MB / 0.856 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.279, allocations: 224.2 kB / 0.8563 GB, free: 2.684 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/0.2791, allocations: 15.98 kB / 0.8563 GB, free: 2.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.2795, allocations: 35.97 kB / 0.8563 GB, free: 2.633 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.2796, allocations: 32.52 kB / 0.8563 GB, free: 2.602 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.2797, allocations: 19.98 kB / 0.8564 GB, free: 2.582 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006192/0.2803, allocations: 0.5226 MB / 0.8569 GB, free: 2.047 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2803, allocations: 0 / 0.8569 GB, free: 2.047 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007058/0.281, allocations: 279.3 kB / 0.8571 GB, free: 1.773 MB / 0.67 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.0001596/0.2812, allocations: 123.1 kB / 0.8572 GB, free: 1.641 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.283, allocations: 0.7936 MB / 0.858 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.283, allocations: 0 / 0.858 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.2835, allocations: 267.7 kB / 0.8583 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.2847, allocations: 260.2 kB / 0.8585 GB, free: 352 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.2873, allocations: 1.591 MB / 0.8601 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.2878, allocations: 0.9938 MB / 0.861 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.2883, allocations: 122.8 kB / 0.8612 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.2885, allocations: 67.36 kB / 0.8612 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/0.2885, allocations: 0 / 0.8612 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.01759/0.3061, allocations: 9.398 MB / 0.8704 GB, free: 4.215 MB / 0.6856 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)