Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009329/0.000933, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007518/0.007518, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004503, allocations: 10.62 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3612, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004909/0.3661, allocations: 3.895 MB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004029/0.3702, allocations: 1.531 MB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.3713, allocations: 31.88 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.3719, allocations: 118.8 kB / 1.08 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.3729, allocations: 186.8 kB / 1.08 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.3746, allocations: 0.6207 MB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.376, allocations: 1.14 MB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.3767, allocations: 472.2 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000515/0.3773, allocations: 361.7 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.3777, allocations: 353.5 kB / 1.083 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.3778, allocations: 24 kB / 1.083 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.3778, allocations: 31.94 kB / 1.083 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.378, allocations: 139.2 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.3783, allocations: 410.7 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008396/0.3791, allocations: 1.012 MB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3792, allocations: 4 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3792, allocations: 4 kB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.3792, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 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.002259/0.3814, allocations: 1.239 MB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3815, allocations: 8.031 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.3817, allocations: 119.5 kB / 1.086 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.3829, allocations: 0.7352 MB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.383, allocations: 88.2 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.3831, allocations: 68.38 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3845, allocations: 0.7486 MB / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3845, allocations: 0 / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.3846, allocations: 24 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.3846, allocations: 16 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.3858, allocations: 0.5322 MB / 1.088 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.3892, allocations: 2.302 MB / 1.09 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.3908, allocations: 0.6423 MB / 1.091 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.3914, allocations: 274.4 kB / 1.091 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.3914, allocations: 4.562 kB / 1.091 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007333/0.3922, allocations: 331.1 kB / 1.091 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.247e-06/0.3922, allocations: 0 / 1.091 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.001801/0.394, allocations: 0.7751 MB / 1.092 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.3941, allocations: 85.67 kB / 1.092 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009156/0.395, allocations: 0.7555 MB / 1.093 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.3951, allocations: 41.7 kB / 1.093 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.3955, allocations: 440.5 kB / 1.093 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.3957, allocations: 201 kB / 1.093 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.3958, allocations: 57.69 kB / 1.093 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3959, allocations: 338 kB / 1.094 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.3964, allocations: 205.2 kB / 1.094 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.3969, allocations: 308.4 kB / 1.094 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.398, allocations: 0.5153 MB / 1.095 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.398, allocations: 4 kB / 1.095 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001466/0.3995, allocations: 0.6735 MB / 1.095 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.3996, allocations: 156.4 kB / 1.096 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3996, allocations: 7.938 kB / 1.096 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3996, allocations: 4 kB / 1.096 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.4003, allocations: 147.8 kB / 1.096 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.4003, allocations: 4 kB / 1.096 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.4008, allocations: 87.28 kB / 1.096 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.4008, allocations: 20 kB / 1.096 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.4008, allocations: 4 kB / 1.096 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/0.4019, allocations: 0.5246 MB / 1.096 GB, free: 392 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4019, allocations: 4 kB / 1.096 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.402, allocations: 4 kB / 1.096 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.4026, allocations: 143.7 kB / 1.096 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4026, allocations: 8.188 kB / 1.096 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.403, allocations: 71.42 kB / 1.097 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.4031, allocations: 23.98 kB / 1.097 GB, free: 136 kB / 0.8419 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.0005317/0.4036, allocations: 297.5 kB / 1.097 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.4037, allocations: 90.88 kB / 1.097 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.404, allocations: 101.2 kB / 1.097 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.404, allocations: 12 kB / 1.097 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.404, allocations: 0 / 1.097 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.404, allocations: 3.984 kB / 1.097 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.4067, allocations: 1.454 MB / 1.098 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4067, allocations: 0 / 1.098 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.4072, allocations: 107.8 kB / 1.099 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4073, allocations: 8 kB / 1.099 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.4073, allocations: 19.92 kB / 1.099 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4073, allocations: 8 kB / 1.099 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4073, allocations: 0 / 1.099 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.4091, allocations: 0.9744 MB / 1.1 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.4094, allocations: 235.5 kB / 1.1 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.4095, allocations: 16 kB / 1.1 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.4099, allocations: 39.97 kB / 1.1 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.41, allocations: 36.5 kB / 1.1 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.4101, allocations: 16 kB / 1.1 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007755/0.4109, allocations: 0.5146 MB / 1.1 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4109, allocations: 4 kB / 1.1 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008767/0.4117, allocations: 275.1 kB / 1.101 GB, free: 11.84 MB / 0.8575 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.000198/0.4119, allocations: 115.2 kB / 1.101 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.4137, allocations: 0.808 MB / 1.102 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4137, allocations: 0 / 1.102 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.4142, allocations: 271.1 kB / 1.102 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.4156, allocations: 242.9 kB / 1.102 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.4186, allocations: 1.94 MB / 1.104 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.4193, allocations: 0.9901 MB / 1.105 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005342/0.4198, allocations: 122.7 kB / 1.105 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.42, allocations: 59.44 kB / 1.105 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of SimCode: time 7.71e-07/0.42, allocations: 0 / 1.105 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of Templates: time 0.01685/0.4369, allocations: 8.69 MB / 1.114 GB, free: 14.65 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)