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.0009762/0.0009765, allocations: 97.33 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.00716/0.00716, allocations: 169.7 kB / 16.27 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.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004372, allocations: 11.16 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3592, allocations: 162.2 MB / 1.074 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002535/0.3618, allocations: 1.72 MB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.3642, allocations: 1.579 MB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.3646, allocations: 8 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.3648, allocations: 67.38 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.3651, allocations: 47.58 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.3659, allocations: 294.9 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000605/0.3665, allocations: 0.6178 MB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004987/0.367, allocations: 309.3 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.3672, allocations: 175 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.3675, allocations: 198.7 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.3675, allocations: 27.94 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3676, allocations: 31.98 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.3677, allocations: 79.56 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.3679, allocations: 252.1 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.3686, allocations: 0.7319 MB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3686, allocations: 0 / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3686, allocations: 0 / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3686, allocations: 0 / 1.08 GB, free: 1.324 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.001356/0.37, allocations: 0.806 MB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.37, allocations: 12.03 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.3702, allocations: 68.17 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.3707, allocations: 408.5 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.3707, allocations: 41.38 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.3709, allocations: 60.38 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008963/0.3718, allocations: 0.4995 MB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3718, allocations: 192 / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.3718, allocations: 27.92 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.3719, allocations: 16 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006991/0.3726, allocations: 363.8 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.3749, allocations: 1.589 MB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/0.3759, allocations: 0.8911 MB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.3763, allocations: 238.6 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.3764, allocations: 11.94 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004824/0.3769, allocations: 252.9 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.883e-06/0.3769, allocations: 0 / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47): time 0.001064/0.3779, allocations: 0.5454 MB / 1.086 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.378, allocations: 107.2 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.3784, allocations: 397.5 kB / 1.086 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.3785, allocations: 37.7 kB / 1.086 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3787, allocations: 249 kB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3788, allocations: 157.7 kB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.3789, allocations: 53.69 kB / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3791, allocations: 350.8 kB / 1.087 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.3795, allocations: 189 kB / 1.087 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.38, allocations: 288.2 kB / 1.088 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007644/0.3807, allocations: 451.4 kB / 1.088 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3808, allocations: 0 / 1.088 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001139/0.3819, allocations: 0.5869 MB / 1.089 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.3821, allocations: 178.5 kB / 1.089 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.3821, allocations: 0 / 1.089 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3821, allocations: 4 kB / 1.089 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.3825, allocations: 95.89 kB / 1.089 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.3825, allocations: 11.92 kB / 1.089 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.383, allocations: 111.4 kB / 1.089 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.3831, allocations: 23.98 kB / 1.089 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.3831, allocations: 5.406 kB / 1.089 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008244/0.3839, allocations: 475.9 kB / 1.089 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3839, allocations: 4 kB / 1.089 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.3839, allocations: 4 kB / 1.089 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.3843, allocations: 91.83 kB / 1.089 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3843, allocations: 4 kB / 1.089 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.3847, allocations: 87.7 kB / 1.09 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.3847, allocations: 23.98 kB / 1.09 GB, free: 7.129 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.0002807/0.385, allocations: 261 kB / 1.09 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.3851, allocations: 43.44 kB / 1.09 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008907/0.386, allocations: 453.3 kB / 1.09 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.386, allocations: 4 kB / 1.09 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.386, allocations: 0 / 1.09 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.386, allocations: 3.984 kB / 1.09 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.3886, allocations: 1.155 MB / 1.091 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.3887, allocations: 12.03 kB / 1.091 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.3892, allocations: 83.89 kB / 1.092 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3892, allocations: 4 kB / 1.092 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.3893, allocations: 11.98 kB / 1.092 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.3893, allocations: 8.125 kB / 1.092 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.3893, allocations: 8 kB / 1.092 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.3911, allocations: 0.7482 MB / 1.092 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.3913, allocations: 128.5 kB / 1.092 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.3914, allocations: 12 kB / 1.092 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.3918, allocations: 31.98 kB / 1.092 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3919, allocations: 35.89 kB / 1.093 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.3919, allocations: 12 kB / 1.093 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004626/0.3924, allocations: 275.2 kB / 1.093 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.71e-07/0.3924, allocations: 4 kB / 1.093 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001079/0.3935, allocations: 191.3 kB / 1.093 GB, free: 3.52 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.0003035/0.3938, allocations: 127 kB / 1.093 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.396, allocations: 0.8002 MB / 1.094 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.396, allocations: 11.94 kB / 1.094 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.3966, allocations: 199.5 kB / 1.094 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3977, allocations: 96.66 kB / 1.094 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.4002, allocations: 1.161 MB / 1.095 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.4009, allocations: 0.8398 MB / 1.096 GB, free: 188 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.4012, allocations: 59.36 kB / 1.096 GB, free: 128 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.4014, allocations: 35.44 kB / 1.096 GB, free: 92 kB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.4014, allocations: 4 kB / 1.096 GB, free: 88 kB / 0.8419 GB Notification: Performance of Templates: time 0.01678/0.4182, allocations: 5.667 MB / 1.102 GB, free: 10.48 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)