Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001285/0.001285, 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.00157/0.00157, allocations: 195.2 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 65.91 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.405, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.00532/0.4103, allocations: 3.632 MB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.4143, allocations: 2.124 MB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007388/0.4151, allocations: 19.94 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.4156, allocations: 178.1 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.4161, allocations: 146.6 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4175, allocations: 498.5 kB / 1.075 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.4186, allocations: 1.26 MB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/0.4195, allocations: 0.5916 MB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.42, allocations: 450.2 kB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.4204, allocations: 481.5 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.4206, allocations: 132 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.4208, allocations: 136 kB / 1.078 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.421, allocations: 259.1 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.4214, allocations: 0.5051 MB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.4226, allocations: 1.371 MB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4226, allocations: 0 / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.345e-06/0.4227, allocations: 0 / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.4227, 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.002367/0.425, allocations: 1.367 MB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.4251, allocations: 12.03 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.4253, allocations: 115.6 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.4261, allocations: 0.5947 MB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.4262, allocations: 66.38 kB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.4263, allocations: 96.38 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4277, allocations: 0.864 MB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4278, allocations: 4.188 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.4278, allocations: 39.94 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.4279, allocations: 20 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.4292, allocations: 0.6402 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.4334, allocations: 2.984 MB / 1.086 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.4349, allocations: 0.6867 MB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.4356, allocations: 378.6 kB / 1.087 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.4356, allocations: 9.656 kB / 1.087 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007464/0.4364, allocations: 355 kB / 1.088 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 3.216e-06/0.4364, allocations: 3.938 kB / 1.088 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001736/0.4382, allocations: 0.8337 MB / 1.088 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.4383, allocations: 188.5 kB / 1.089 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008367/0.4391, allocations: 0.6762 MB / 1.089 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.4392, allocations: 45.69 kB / 1.089 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.4396, allocations: 431.8 kB / 1.09 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.4398, allocations: 228.6 kB / 1.09 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.4401, allocations: 146.7 kB / 1.09 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4402, allocations: 337.9 kB / 1.09 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.4409, allocations: 296.6 kB / 1.091 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.4417, allocations: 482.2 kB / 1.091 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.443, allocations: 0.6731 MB / 1.092 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.443, allocations: 0 / 1.092 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001798/0.4448, allocations: 0.8808 MB / 1.093 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.4449, allocations: 41.69 kB / 1.093 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4449, allocations: 4 kB / 1.093 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.4449, allocations: 4 kB / 1.093 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.4456, allocations: 163.7 kB / 1.093 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4456, allocations: 4 kB / 1.093 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/0.4462, allocations: 143 kB / 1.093 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.4463, allocations: 35.98 kB / 1.093 GB, free: 388 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007/0.447, allocations: 394.7 kB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005748/0.4476, allocations: 422.2 kB / 1.094 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008305/0.4485, allocations: 0.5717 MB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.4485, allocations: 0 / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001222/0.4497, allocations: 0.7596 MB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.4498, allocations: 37.7 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4498, allocations: 4 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.4498, allocations: 8 kB / 1.095 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.4503, allocations: 135.8 kB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.4503, allocations: 12 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.4509, allocations: 115.7 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.4509, allocations: 28.19 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.000246/0.4512, allocations: 235.6 kB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4513, allocations: 86.89 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.4527, allocations: 0.6477 MB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.4527, allocations: 11.94 kB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4527, allocations: 0 / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.4528, allocations: 3.984 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.4555, allocations: 1.667 MB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4556, allocations: 7.938 kB / 1.098 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.4561, allocations: 128.1 kB / 1.098 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.4561, allocations: 12 kB / 1.098 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.4562, allocations: 19.98 kB / 1.098 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.4562, allocations: 11.94 kB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4562, allocations: 0 / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.4581, allocations: 1.081 MB / 1.099 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.4583, allocations: 175.9 kB / 1.099 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/0.4584, allocations: 20 kB / 1.099 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.4588, allocations: 47.95 kB / 1.1 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4589, allocations: 40.5 kB / 1.1 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.459, allocations: 31.98 kB / 1.1 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006348/0.4596, allocations: 479 kB / 1.1 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.4596, allocations: 0 / 1.1 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001013/0.4606, allocations: 314.8 kB / 1.1 GB, free: 8.621 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.0003057/0.4609, allocations: 135.6 kB / 1.1 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002524/0.4635, allocations: 1.178 MB / 1.102 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.4635, allocations: 1.5 kB / 1.102 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/0.4641, allocations: 311.5 kB / 1.102 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4652, allocations: 179.2 kB / 1.102 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.4682, allocations: 1.509 MB / 1.104 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.4688, allocations: 0.9782 MB / 1.105 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004252/0.4692, allocations: 93.91 kB / 1.105 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.4694, allocations: 67.41 kB / 1.105 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.4694, allocations: 0 / 1.105 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.01933/0.4888, allocations: 9.684 MB / 1.114 GB, free: 10.48 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1)