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.001371/0.001371, allocations: 108 kB / 15.61 MB, free: 152 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.001571/0.001571, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.495/1.495, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 62.58 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3207, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005717/0.3265, allocations: 4.332 MB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003002/0.3295, allocations: 1.601 MB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005774/0.3301, allocations: 31.88 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.3305, allocations: 166.1 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000605/0.3311, allocations: 229.2 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.3324, allocations: 0.6724 MB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.3335, allocations: 1.214 MB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006889/0.3342, allocations: 0.4962 MB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.3348, allocations: 466 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.3352, allocations: 457.4 kB / 1.078 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.3354, allocations: 104 kB / 1.078 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3355, allocations: 104 kB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.3357, allocations: 231.1 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.3361, allocations: 493 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009441/0.337, allocations: 1.11 MB / 1.08 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.337, allocations: 3.938 kB / 1.08 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3371, allocations: 0 / 1.08 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.3371, allocations: 0 / 1.08 GB, free: 14.75 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.002449/0.3395, allocations: 1.401 MB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3396, allocations: 12.03 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.3398, allocations: 115.5 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3409, allocations: 0.7352 MB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.341, allocations: 80.27 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3411, allocations: 68.38 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.3423, allocations: 0.7368 MB / 1.083 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3423, allocations: 4 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.3424, allocations: 32 kB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.3424, allocations: 16 kB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3435, allocations: 0.5126 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.3468, allocations: 2.275 MB / 1.085 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.3482, allocations: 0.6211 MB / 1.086 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.3487, allocations: 266.5 kB / 1.086 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.3488, allocations: 16.53 kB / 1.086 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007069/0.3495, allocations: 323.1 kB / 1.087 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.045e-06/0.3495, allocations: 3.938 kB / 1.087 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.001614/0.3512, allocations: 0.7478 MB / 1.087 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.3512, allocations: 85.66 kB / 1.087 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.3521, allocations: 0.7594 MB / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.3521, allocations: 37.7 kB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.3524, allocations: 436.5 kB / 1.089 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.3526, allocations: 205 kB / 1.089 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.3528, allocations: 118.2 kB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3529, allocations: 326 kB / 1.089 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.3534, allocations: 207.4 kB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.3539, allocations: 304.5 kB / 1.09 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009714/0.3549, allocations: 0.5113 MB / 1.09 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3549, allocations: 4 kB / 1.09 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00126/0.3561, allocations: 0.6463 MB / 1.091 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3562, allocations: 11.94 kB / 1.091 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3562, allocations: 0 / 1.091 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3562, allocations: 11.98 kB / 1.091 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.3568, allocations: 139.8 kB / 1.091 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3569, allocations: 7.938 kB / 1.091 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.3573, allocations: 75.53 kB / 1.091 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.3574, allocations: 20 kB / 1.091 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006813/0.358, allocations: 358 kB / 1.091 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004995/0.3586, allocations: 296.4 kB / 1.092 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000864/0.3594, allocations: 495.7 kB / 1.092 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.3594, allocations: 0 / 1.092 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001098/0.3605, allocations: 0.6305 MB / 1.093 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3606, allocations: 4 kB / 1.093 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3606, allocations: 4 kB / 1.093 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.3606, allocations: 7.984 kB / 1.093 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.3612, allocations: 148 kB / 1.093 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.3612, allocations: 4 kB / 1.093 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.3616, allocations: 59.45 kB / 1.093 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.3616, allocations: 23.98 kB / 1.093 GB, free: 0.5117 MB / 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.0001743/0.3618, allocations: 213.5 kB / 1.093 GB, free: 304 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3619, allocations: 94.78 kB / 1.093 GB, free: 208 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.3621, allocations: 109.2 kB / 1.093 GB, free: 96 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3621, allocations: 4 kB / 1.093 GB, free: 92 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.3622, allocations: 7.938 kB / 1.093 GB, free: 84 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3622, allocations: 7.984 kB / 1.093 GB, free: 76 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.3643, allocations: 1.435 MB / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3644, allocations: 0 / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.3649, allocations: 103.8 kB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3649, allocations: 7.938 kB / 1.095 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.365, allocations: 15.98 kB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.365, allocations: 0 / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.365, allocations: 7.938 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3668, allocations: 0.9586 MB / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.3671, allocations: 223.7 kB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/0.3672, allocations: 15.98 kB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.3676, allocations: 31.97 kB / 1.096 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.3677, allocations: 36.52 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.3677, allocations: 19.98 kB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006151/0.3683, allocations: 0.5146 MB / 1.097 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3683, allocations: 0 / 1.097 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007018/0.3691, allocations: 275.1 kB / 1.097 GB, free: 12.36 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.0001382/0.3692, allocations: 117.4 kB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.371, allocations: 0.8252 MB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3711, allocations: 0 / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.3716, allocations: 267.1 kB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3727, allocations: 273 kB / 1.098 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.3752, allocations: 1.573 MB / 1.1 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.3759, allocations: 0.9937 MB / 1.101 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004852/0.3764, allocations: 114.7 kB / 1.101 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.3766, allocations: 59.42 kB / 1.101 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.3766, allocations: 4 kB / 1.101 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of Templates: time 0.01707/0.3936, allocations: 9.257 MB / 1.11 GB, free: 14.94 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)