Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009833/0.0009835, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01138/0.01138, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 7.469 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3555, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004628/0.3602, allocations: 3.91 MB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002831/0.363, allocations: 1.523 MB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003978/0.3635, allocations: 35.81 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.3638, allocations: 118.9 kB / 1.08 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005783/0.3644, allocations: 182.8 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3657, allocations: 0.6252 MB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3668, allocations: 1.132 MB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006623/0.3675, allocations: 484.1 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.3679, allocations: 357.8 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.3683, allocations: 345.6 kB / 1.083 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.425e-05/0.3683, allocations: 28 kB / 1.083 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.411e-05/0.3684, allocations: 24 kB / 1.083 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3685, allocations: 143.1 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.3689, allocations: 418.7 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.3701, allocations: 1.016 MB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3701, allocations: 4 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3701, allocations: 0 / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.3701, allocations: 0 / 1.084 GB, free: 13.16 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.002378/0.3725, allocations: 1.236 MB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3726, allocations: 12.03 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.3727, allocations: 119.5 kB / 1.086 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.3739, allocations: 0.7313 MB / 1.086 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.374, allocations: 84.27 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.3742, allocations: 68.38 kB / 1.086 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3755, allocations: 0.7446 MB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3755, allocations: 0 / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.3756, allocations: 28 kB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.3756, allocations: 16 kB / 1.087 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.3767, allocations: 0.5282 MB / 1.088 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.3803, allocations: 2.306 MB / 1.09 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.3817, allocations: 0.6346 MB / 1.091 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.3822, allocations: 278.4 kB / 1.091 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.3823, allocations: 12.55 kB / 1.091 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006885/0.383, allocations: 331 kB / 1.091 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.798e-06/0.383, allocations: 4 kB / 1.091 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.001706/0.3847, allocations: 0.7711 MB / 1.092 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3848, allocations: 89.67 kB / 1.092 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009739/0.3858, allocations: 0.7516 MB / 1.093 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.3859, allocations: 41.69 kB / 1.093 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.3863, allocations: 432.5 kB / 1.093 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.3864, allocations: 209 kB / 1.093 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.3865, allocations: 61.69 kB / 1.093 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3867, allocations: 330 kB / 1.094 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.3872, allocations: 205.2 kB / 1.094 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.3877, allocations: 312.4 kB / 1.094 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009797/0.3887, allocations: 0.5191 MB / 1.095 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3887, allocations: 3.984 kB / 1.095 GB, free: 2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001237/0.3899, allocations: 0.6657 MB / 1.095 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-05/0.39, allocations: 151.2 kB / 1.096 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3901, allocations: 7.938 kB / 1.096 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3901, allocations: 4 kB / 1.096 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.3907, allocations: 151.8 kB / 1.096 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.3908, allocations: 19.92 kB / 1.096 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.3912, allocations: 75.34 kB / 1.096 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.3913, allocations: 20 kB / 1.096 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/0.3913, allocations: 4 kB / 1.096 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009947/0.3923, allocations: 0.5246 MB / 1.096 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3923, allocations: 0 / 1.096 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-06/0.3923, allocations: 7.984 kB / 1.096 GB, free: 344 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.3929, allocations: 144 kB / 1.096 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3929, allocations: 11.94 kB / 1.096 GB, free: 188 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.3933, allocations: 59.42 kB / 1.097 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.3934, allocations: 24 kB / 1.097 GB, free: 104 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.0003898/0.3937, allocations: 304.9 kB / 1.097 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.3939, allocations: 94.81 kB / 1.097 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.3941, allocations: 105.2 kB / 1.097 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3941, allocations: 4 kB / 1.097 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.3941, allocations: 0 / 1.097 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.3941, allocations: 3.984 kB / 1.097 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.3965, allocations: 1.458 MB / 1.098 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3965, allocations: 0 / 1.098 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.3971, allocations: 111.9 kB / 1.099 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3971, allocations: 0 / 1.099 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.3971, allocations: 19.92 kB / 1.099 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3971, allocations: 4 kB / 1.099 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3972, allocations: 0 / 1.099 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.3988, allocations: 0.9821 MB / 1.1 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.3991, allocations: 231.5 kB / 1.1 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.3992, allocations: 16 kB / 1.1 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.3997, allocations: 35.97 kB / 1.1 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.3998, allocations: 40.59 kB / 1.1 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.3999, allocations: 19.98 kB / 1.1 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007144/0.4006, allocations: 0.5224 MB / 1.1 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4006, allocations: 0 / 1.1 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007186/0.4013, allocations: 267.1 kB / 1.101 GB, free: 11.8 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.0001623/0.4015, allocations: 115.2 kB / 1.101 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.4033, allocations: 0.8118 MB / 1.102 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4033, allocations: 0 / 1.102 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.404, allocations: 279.1 kB / 1.102 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.4053, allocations: 242.8 kB / 1.102 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.4088, allocations: 1.936 MB / 1.104 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.4095, allocations: 0.994 MB / 1.105 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005738/0.4101, allocations: 114.9 kB / 1.105 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.4103, allocations: 59.42 kB / 1.105 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.4103, allocations: 0 / 1.105 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of Templates: time 0.01833/0.4286, allocations: 8.691 MB / 1.114 GB, free: 14.61 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)