Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001507, allocations: 108 kB / 15.6 MB, free: 132 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.001638/0.001639, allocations: 191.2 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.69 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3521, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005299/0.3574, allocations: 3.614 MB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.3616, allocations: 2.124 MB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.3621, allocations: 23.94 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.3626, allocations: 178.1 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.363, allocations: 142.6 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3641, allocations: 0.4947 MB / 1.075 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.3652, allocations: 1.256 MB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007965/0.3661, allocations: 0.6031 MB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.3665, allocations: 442.3 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.3669, allocations: 477.6 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3671, allocations: 132 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.3673, allocations: 143.9 kB / 1.078 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.3675, allocations: 251.1 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.3679, allocations: 0.509 MB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.3691, allocations: 1.371 MB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3691, allocations: 0 / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3691, allocations: 0 / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.3691, allocations: 4 kB / 1.08 GB, free: 14.62 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002441/0.3716, allocations: 1.368 MB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3716, allocations: 12.03 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.3718, allocations: 115.6 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.3727, allocations: 0.5985 MB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.3727, allocations: 70.38 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3729, allocations: 100.4 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3743, allocations: 0.8524 MB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.3744, allocations: 4.125 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.3745, allocations: 43.94 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.3745, allocations: 24 kB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.3758, allocations: 0.6285 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.3801, allocations: 2.999 MB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.3816, allocations: 0.6801 MB / 1.087 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/0.3823, allocations: 378.6 kB / 1.087 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.3824, allocations: 12.55 kB / 1.087 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008073/0.3832, allocations: 347 kB / 1.088 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 3.937e-06/0.3832, allocations: 0 / 1.088 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.00184/0.385, allocations: 0.8298 MB / 1.088 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.3852, allocations: 196.5 kB / 1.089 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/0.3861, allocations: 0.6762 MB / 1.089 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.3862, allocations: 49.64 kB / 1.089 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.3866, allocations: 427.8 kB / 1.09 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.3868, allocations: 232.6 kB / 1.09 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.387, allocations: 142.7 kB / 1.09 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3872, allocations: 337.9 kB / 1.09 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.3879, allocations: 296.7 kB / 1.091 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.3887, allocations: 482.2 kB / 1.091 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3899, allocations: 0.6693 MB / 1.092 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3899, allocations: 7.938 kB / 1.092 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00177/0.3917, allocations: 0.8726 MB / 1.093 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/0.3918, allocations: 43.34 kB / 1.093 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3918, allocations: 7.938 kB / 1.093 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.3919, allocations: 8.375 kB / 1.093 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.3925, allocations: 159.8 kB / 1.093 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.3926, allocations: 15.92 kB / 1.093 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.3933, allocations: 139 kB / 1.093 GB, free: 412 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.3934, allocations: 35.98 kB / 1.093 GB, free: 376 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007353/0.3941, allocations: 398.6 kB / 1.093 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005686/0.3947, allocations: 418.2 kB / 1.094 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008059/0.3955, allocations: 0.5678 MB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.3955, allocations: 4 kB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001242/0.3968, allocations: 0.7555 MB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.3968, allocations: 42.06 kB / 1.095 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3968, allocations: 8 kB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.3969, allocations: 4 kB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.3973, allocations: 135.8 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3974, allocations: 11.94 kB / 1.095 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/0.3979, allocations: 107.5 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.398, allocations: 31.98 kB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0002571/0.3983, allocations: 233.9 kB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.3984, allocations: 78.97 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3997, allocations: 0.6554 MB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3997, allocations: 8 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3997, allocations: 0 / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-06/0.3997, allocations: 3.984 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.4023, allocations: 1.667 MB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.4023, allocations: 11.88 kB / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.4028, allocations: 135.8 kB / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.4029, allocations: 4 kB / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.4029, allocations: 16 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4029, allocations: 4 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4029, allocations: 4.281 kB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.4048, allocations: 1.089 MB / 1.099 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.405, allocations: 175.9 kB / 1.099 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.4051, allocations: 20 kB / 1.099 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.4054, allocations: 43.95 kB / 1.1 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.4055, allocations: 48.45 kB / 1.1 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.4056, allocations: 23.98 kB / 1.1 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005762/0.4061, allocations: 487.1 kB / 1.1 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4062, allocations: 3.938 kB / 1.1 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009343/0.4071, allocations: 314.8 kB / 1.1 GB, free: 8.605 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($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 (68): * Single equations (assignments): 67 * 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.0002657/0.4074, allocations: 127.6 kB / 1.1 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.4097, allocations: 1.179 MB / 1.102 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4098, allocations: 0 / 1.102 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.4103, allocations: 308.2 kB / 1.102 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/0.4113, allocations: 180.2 kB / 1.102 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.4138, allocations: 1.505 MB / 1.104 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.4143, allocations: 0.982 MB / 1.105 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.4148, allocations: 105.9 kB / 1.105 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.4149, allocations: 59.42 kB / 1.105 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of SimCode: time 1.183e-06/0.4149, allocations: 0 / 1.105 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of Templates: time 0.0183/0.4332, allocations: 9.678 MB / 1.114 GB, free: 10.48 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1)