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.01079/0.01079, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001953/0.001954, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.606/1.606, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.6/1.6, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.002216/0.002216, allocations: 65.94 kB / 0.7257 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3168, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.008176/0.325, allocations: 4.355 MB / 0.8323 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004741/0.3298, allocations: 1.637 MB / 0.8339 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.3312, allocations: 35.81 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.3321, allocations: 166.2 kB / 0.8341 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.3335, allocations: 234.1 kB / 0.8343 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.3352, allocations: 0.6693 MB / 0.8349 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.3371, allocations: 1.237 MB / 0.8361 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009762/0.3381, allocations: 0.4963 MB / 0.8366 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007949/0.3389, allocations: 485.8 kB / 0.8371 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.3395, allocations: 461.5 kB / 0.8375 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.3396, allocations: 100 kB / 0.8376 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.3398, allocations: 107.9 kB / 0.8377 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.34, allocations: 235.1 kB / 0.8379 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.3405, allocations: 489 kB / 0.8384 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3418, allocations: 1.152 MB / 0.8395 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3418, allocations: 3.938 kB / 0.8395 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.624e-06/0.3418, allocations: 0 / 0.8395 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.3419, allocations: 0 / 0.8395 GB, free: 4.344 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.002594/0.3445, allocations: 1.403 MB / 0.8409 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.3445, allocations: 16.03 kB / 0.8409 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.3448, allocations: 127.4 kB / 0.841 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.3463, allocations: 0.7587 MB / 0.8418 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.3464, allocations: 84.25 kB / 0.8419 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3465, allocations: 76.31 kB / 0.8419 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.3479, allocations: 0.7329 MB / 0.8427 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3479, allocations: 0 / 0.8427 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.348, allocations: 31.94 kB / 0.8427 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.348, allocations: 16 kB / 0.8427 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.3492, allocations: 0.5204 MB / 0.8432 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.353, allocations: 2.251 MB / 0.8454 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.3545, allocations: 0.6264 MB / 0.846 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.355, allocations: 275.3 kB / 0.8463 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.3551, allocations: 12.53 kB / 0.8463 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007151/0.3558, allocations: 327.1 kB / 0.8466 GB, free: 12.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.665e-06/0.3558, allocations: 0 / 0.8466 GB, free: 12.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001721/0.3576, allocations: 0.7555 MB / 0.8473 GB, free: 12.11 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.3577, allocations: 89.66 kB / 0.8474 GB, free: 12.01 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/0.3586, allocations: 0.7519 MB / 0.8482 GB, free: 11.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.3587, allocations: 41.7 kB / 0.8482 GB, free: 11.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.3591, allocations: 440.5 kB / 0.8486 GB, free: 10.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.3593, allocations: 208.9 kB / 0.8488 GB, free: 10.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.3595, allocations: 114.2 kB / 0.8489 GB, free: 10.42 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3596, allocations: 333.9 kB / 0.8493 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.3601, allocations: 207.4 kB / 0.8495 GB, free: 9.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.3606, allocations: 304.5 kB / 0.8497 GB, free: 9.555 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3617, allocations: 0.5036 MB / 0.8502 GB, free: 9.023 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3617, allocations: 4 kB / 0.8502 GB, free: 9.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001298/0.363, allocations: 0.6501 MB / 0.8509 GB, free: 8.359 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.363, allocations: 11.98 kB / 0.8509 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.363, allocations: 0 / 0.8509 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.3631, allocations: 8 kB / 0.8509 GB, free: 8.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.3638, allocations: 143.8 kB / 0.851 GB, free: 8.199 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.3638, allocations: 7.938 kB / 0.851 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.3643, allocations: 67.53 kB / 0.8511 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.3643, allocations: 24 kB / 0.8511 GB, free: 8.102 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006495/0.365, allocations: 357.4 kB / 0.8515 GB, free: 7.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004876/0.3655, allocations: 292.4 kB / 0.8517 GB, free: 7.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009903/0.3665, allocations: 495.7 kB / 0.8522 GB, free: 6.918 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.3665, allocations: 0 / 0.8522 GB, free: 6.918 MB / 0.67 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001124/0.3676, allocations: 0.6267 MB / 0.8528 GB, free: 6.281 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3677, allocations: 7.984 kB / 0.8528 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3677, allocations: 4 kB / 0.8528 GB, free: 6.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3677, allocations: 4.094 kB / 0.8528 GB, free: 6.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.3683, allocations: 140 kB / 0.853 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3683, allocations: 11.94 kB / 0.853 GB, free: 6.117 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.3687, allocations: 63.44 kB / 0.853 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.3688, allocations: 31.92 kB / 0.8531 GB, free: 6.023 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.0002294/0.369, allocations: 208.1 kB / 0.8533 GB, free: 5.812 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.3691, allocations: 94.78 kB / 0.8534 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.3694, allocations: 101.3 kB / 0.8535 GB, free: 5.621 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3694, allocations: 12 kB / 0.8535 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.3694, allocations: 3.938 kB / 0.8535 GB, free: 5.605 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3694, allocations: 7.922 kB / 0.8535 GB, free: 5.598 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.3718, allocations: 1.439 MB / 0.8549 GB, free: 4.102 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3718, allocations: 4 kB / 0.8549 GB, free: 4.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.3724, allocations: 107.8 kB / 0.855 GB, free: 3.992 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3724, allocations: 0 / 0.855 GB, free: 3.992 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.3724, allocations: 15.98 kB / 0.855 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.3724, allocations: 4 kB / 0.855 GB, free: 3.973 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3724, allocations: 0 / 0.855 GB, free: 3.973 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3743, allocations: 0.9634 MB / 0.856 GB, free: 2.992 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.3746, allocations: 227.7 kB / 0.8562 GB, free: 2.75 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3747, allocations: 12 kB / 0.8562 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.3752, allocations: 35.97 kB / 0.8562 GB, free: 2.703 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3753, allocations: 32.52 kB / 0.8563 GB, free: 2.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.3754, allocations: 19.98 kB / 0.8563 GB, free: 2.652 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008482/0.3762, allocations: 0.5187 MB / 0.8568 GB, free: 2.121 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3762, allocations: 0 / 0.8568 GB, free: 2.121 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009356/0.3772, allocations: 275 kB / 0.857 GB, free: 1.852 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.0002469/0.3774, allocations: 119.2 kB / 0.8572 GB, free: 1.723 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.3794, allocations: 0.7962 MB / 0.8579 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.3794, allocations: 0 / 0.8579 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.3799, allocations: 267.1 kB / 0.8582 GB, free: 0.668 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.3812, allocations: 274.3 kB / 0.8584 GB, free: 428 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.3842, allocations: 1.563 MB / 0.86 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.3849, allocations: 0.9977 MB / 0.8609 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000557/0.3854, allocations: 110.7 kB / 0.8611 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.3856, allocations: 71.42 kB / 0.8611 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of SimCode: time 2.164e-06/0.3857, allocations: 0 / 0.8611 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of Templates: time 0.0216/0.4073, allocations: 9.383 MB / 0.8703 GB, free: 4.332 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)