Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, 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.001734/0.001733, allocations: 194.1 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7451 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 66.11 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.004302/0.3391, allocations: 2.092 MB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.3418, allocations: 1.602 MB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.3421, allocations: 8 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.3424, allocations: 87 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.3426, allocations: 83.25 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.3434, allocations: 322.9 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006586/0.3441, allocations: 0.6843 MB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.3447, allocations: 333.3 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.3449, allocations: 266.9 kB / 1.074 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.3452, allocations: 274.6 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3454, allocations: 76 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3455, allocations: 91.98 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3456, allocations: 139.5 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.3459, allocations: 298.5 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.3467, allocations: 0.8063 MB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3467, allocations: 3.938 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3467, allocations: 0 / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.3467, allocations: 0 / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001573/0.3483, allocations: 0.8954 MB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3483, allocations: 12.02 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3485, allocations: 72.09 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.349, allocations: 404.6 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.349, allocations: 41.38 kB / 1.077 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.3491, allocations: 64.3 kB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.3499, allocations: 0.4917 MB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3499, allocations: 192 / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.35, allocations: 31.92 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.35, allocations: 12 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.3507, allocations: 339.8 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.353, allocations: 1.562 MB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3542, allocations: 0.8725 MB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.3546, allocations: 234.6 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.3547, allocations: 4 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/0.3553, allocations: 248.8 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.906e-06/0.3553, allocations: 0 / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47): time 0.001174/0.3565, allocations: 0.5181 MB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.3566, allocations: 111.2 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.3571, allocations: 385.6 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.3571, allocations: 41.7 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.3574, allocations: 260.9 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3575, allocations: 153.8 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.3577, allocations: 102.1 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3579, allocations: 354.8 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.3583, allocations: 187 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.3588, allocations: 284.2 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/0.3596, allocations: 435.4 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3596, allocations: 4 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001074/0.3607, allocations: 0.5596 MB / 1.084 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.3607, allocations: 41.62 kB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3607, allocations: 0 / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3608, allocations: 8.219 kB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.3612, allocations: 103.8 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.3612, allocations: 7.984 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.3616, allocations: 79.48 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.3617, allocations: 19.98 kB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004096/0.3621, allocations: 285.2 kB / 1.084 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003452/0.3624, allocations: 256.2 kB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005221/0.363, allocations: 392.2 kB / 1.085 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.363, allocations: 3.938 kB / 1.085 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0008548/0.3638, allocations: 0.5205 MB / 1.085 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.3639, allocations: 37.7 kB / 1.085 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3639, allocations: 11.92 kB / 1.085 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.3639, allocations: 4 kB / 1.085 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.3642, allocations: 83.84 kB / 1.085 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3643, allocations: 4 kB / 1.085 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.3646, allocations: 75.84 kB / 1.085 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.3647, allocations: 20 kB / 1.085 GB, free: 8.16 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0001535/0.3648, allocations: 208.2 kB / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.3649, allocations: 55.34 kB / 1.086 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/0.3657, allocations: 433.4 kB / 1.086 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3657, allocations: 4 kB / 1.086 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3657, allocations: 3.984 kB / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3657, allocations: 0 / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.3673, allocations: 1.132 MB / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3673, allocations: 0 / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.3677, allocations: 83.89 kB / 1.087 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3677, allocations: 4 kB / 1.087 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.3677, allocations: 20.12 kB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3677, allocations: 4 kB / 1.087 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3677, allocations: 3.938 kB / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.3689, allocations: 0.7364 MB / 1.088 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.369, allocations: 120.6 kB / 1.088 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.3691, allocations: 16 kB / 1.088 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.3693, allocations: 23.97 kB / 1.088 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.3694, allocations: 35.84 kB / 1.088 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.3694, allocations: 19.98 kB / 1.088 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002818/0.3697, allocations: 271.2 kB / 1.088 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3697, allocations: 0 / 1.088 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006187/0.3703, allocations: 203.2 kB / 1.089 GB, free: 4.668 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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.0002342/0.3705, allocations: 123.7 kB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.3722, allocations: 0.8029 MB / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.3722, allocations: 0.875 kB / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.3726, allocations: 195.9 kB / 1.09 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.3733, allocations: 102.9 kB / 1.09 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3752, allocations: 0.9333 MB / 1.091 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.3758, allocations: 0.8472 MB / 1.092 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.376, allocations: 55.38 kB / 1.092 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3761, allocations: 43.42 kB / 1.092 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of SimCode: time 6.81e-07/0.3761, allocations: 4 kB / 1.092 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of Templates: time 0.01174/0.3879, allocations: 5.984 MB / 1.098 GB, free: 11.55 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1)