Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001216/0.001216, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 185.9 kB / 16.62 MB, free: 6.613 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.408/1.408, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.3 MB / 0.5489 GB, free: 12.77 MB / 462.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.002163/0.002163, allocations: 71.72 kB / 0.6722 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3179, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.007152/0.3251, allocations: 4.346 MB / 0.7884 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003937/0.3291, allocations: 1.625 MB / 0.7899 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.3302, allocations: 35.81 kB / 0.79 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.331, allocations: 170.2 kB / 0.7901 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.3324, allocations: 226.1 kB / 0.7904 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.3346, allocations: 0.679 MB / 0.791 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.3369, allocations: 1.222 MB / 0.7922 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.338, allocations: 0.5001 MB / 0.7927 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000864/0.3388, allocations: 469.9 kB / 0.7931 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.3396, allocations: 461.4 kB / 0.7936 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.3399, allocations: 100 kB / 0.7937 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.3403, allocations: 104 kB / 0.7938 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.3406, allocations: 235.1 kB / 0.794 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007896/0.3414, allocations: 493 kB / 0.7945 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.3428, allocations: 1.16 MB / 0.7956 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3428, allocations: 0 / 0.7956 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3428, allocations: 0 / 0.7956 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.766e-05/0.3429, allocations: 4 kB / 0.7956 GB, free: 0.8906 MB / 0.6075 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.002621/0.3455, allocations: 1.403 MB / 0.797 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3456, allocations: 8.031 kB / 0.797 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.3458, allocations: 123.4 kB / 0.7971 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.3471, allocations: 0.7665 MB / 0.7979 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3472, allocations: 84.25 kB / 0.7979 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.3473, allocations: 72.31 kB / 0.798 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3487, allocations: 0.7329 MB / 0.7987 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3487, allocations: 0 / 0.7987 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.3488, allocations: 31.98 kB / 0.7987 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.3488, allocations: 16 kB / 0.7988 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3501, allocations: 0.5126 MB / 0.7993 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003876/0.354, allocations: 2.247 MB / 0.8015 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.3554, allocations: 0.6232 MB / 0.8021 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.3559, allocations: 273.3 kB / 0.8023 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/0.356, allocations: 24.47 kB / 0.8024 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006895/0.3567, allocations: 319 kB / 0.8027 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 2.184e-06/0.3567, allocations: 0 / 0.8027 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.00155/0.3582, allocations: 0.7517 MB / 0.8034 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.3583, allocations: 89.66 kB / 0.8035 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009004/0.3592, allocations: 0.7558 MB / 0.8042 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.3593, allocations: 45.69 kB / 0.8043 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.3596, allocations: 440.5 kB / 0.8047 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.3598, allocations: 205 kB / 0.8049 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.36, allocations: 106.3 kB / 0.805 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3601, allocations: 334 kB / 0.8053 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.3605, allocations: 203.4 kB / 0.8055 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.3611, allocations: 304.5 kB / 0.8058 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009756/0.3621, allocations: 0.5074 MB / 0.8063 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3621, allocations: 3.938 kB / 0.8063 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0013/0.3634, allocations: 0.6617 MB / 0.8069 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3634, allocations: 4 kB / 0.8069 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3634, allocations: 4 kB / 0.8069 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3635, allocations: 4 kB / 0.8069 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.3641, allocations: 147.8 kB / 0.8071 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.3642, allocations: 8.125 kB / 0.8071 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.3646, allocations: 71.34 kB / 0.8072 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.3647, allocations: 23.98 kB / 0.8072 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006347/0.3653, allocations: 353.4 kB / 0.8075 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004906/0.3658, allocations: 296.4 kB / 0.8078 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008941/0.3667, allocations: 499.7 kB / 0.8083 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.3667, allocations: 4 kB / 0.8083 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001171/0.3679, allocations: 0.6266 MB / 0.8089 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3679, allocations: 12.88 kB / 0.8089 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3679, allocations: 4.25 kB / 0.8089 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.3679, allocations: 8 kB / 0.8089 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.3686, allocations: 139.8 kB / 0.809 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3686, allocations: 7.938 kB / 0.809 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.369, allocations: 59.44 kB / 0.8091 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.369, allocations: 20 kB / 0.8091 GB, free: 2.59 MB / 0.6231 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.0002025/0.3692, allocations: 212.1 kB / 0.8093 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3694, allocations: 98.78 kB / 0.8094 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.3696, allocations: 105.3 kB / 0.8095 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3696, allocations: 8 kB / 0.8095 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.3696, allocations: 3.938 kB / 0.8095 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3696, allocations: 3.984 kB / 0.8095 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.3719, allocations: 1.443 MB / 0.8109 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3719, allocations: 3.984 kB / 0.811 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.3724, allocations: 99.83 kB / 0.811 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.3725, allocations: 7.984 kB / 0.8111 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.3725, allocations: 12 kB / 0.8111 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3725, allocations: 0 / 0.8111 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3725, allocations: 4 kB / 0.8111 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3742, allocations: 0.9672 MB / 0.812 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.3745, allocations: 223.8 kB / 0.8122 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.3746, allocations: 12 kB / 0.8122 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.375, allocations: 27.97 kB / 0.8123 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.3751, allocations: 40.5 kB / 0.8123 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.3752, allocations: 16 kB / 0.8123 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000648/0.3758, allocations: 0.5187 MB / 0.8128 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3759, allocations: 0 / 0.8128 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00073/0.3766, allocations: 286.9 kB / 0.8131 GB, free: 14.41 MB / 0.6387 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.0001449/0.3767, allocations: 111.3 kB / 0.8132 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.3784, allocations: 0.7996 MB / 0.814 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3784, allocations: 0 / 0.814 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.3789, allocations: 275.6 kB / 0.8142 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.3801, allocations: 281.5 kB / 0.8145 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.3828, allocations: 1.557 MB / 0.816 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.3834, allocations: 0.9899 MB / 0.817 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004946/0.3839, allocations: 118.9 kB / 0.8171 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.3841, allocations: 63.42 kB / 0.8172 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.3841, allocations: 0 / 0.8172 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of Templates: time 0.01776/0.4019, allocations: 9.254 MB / 0.8262 GB, free: 1.016 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)