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.0007897/0.0007897, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005506/0.005506, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.106/3.106, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 18.58 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3806, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.003886/0.3845, allocations: 3.135 MB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.388, allocations: 2.077 MB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.3885, allocations: 19.94 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.3888, allocations: 130.8 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.3891, allocations: 99.3 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009933/0.3901, allocations: 435 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.3912, allocations: 1.147 MB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.392, allocations: 0.5642 MB / 1.082 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.3923, allocations: 294.3 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.3927, allocations: 345.6 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.3927, allocations: 32 kB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3929, allocations: 43.98 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.393, allocations: 143.1 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.3933, allocations: 406.9 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.3944, allocations: 1.265 MB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3944, allocations: 4 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3944, allocations: 0 / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.3944, allocations: 0 / 1.084 GB, free: 13.32 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.002216/0.3967, allocations: 1.224 MB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3967, allocations: 12.03 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.3969, allocations: 115.6 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.3977, allocations: 0.5908 MB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.3978, allocations: 74.38 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3979, allocations: 88.38 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3994, allocations: 0.8836 MB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3995, allocations: 4.188 kB / 1.087 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.3995, allocations: 43.88 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3996, allocations: 20 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.401, allocations: 0.6793 MB / 1.088 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/0.4052, allocations: 3.031 MB / 1.091 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.4068, allocations: 0.7454 MB / 1.091 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006706/0.4075, allocations: 402.5 kB / 1.092 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.704e-05/0.4075, allocations: 8.562 kB / 1.092 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/0.4083, allocations: 367 kB / 1.092 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.385e-06/0.4083, allocations: 0 / 1.092 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001867/0.4102, allocations: 0.8962 MB / 1.093 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.4103, allocations: 188.5 kB / 1.093 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.4112, allocations: 0.6918 MB / 1.094 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.4113, allocations: 37.7 kB / 1.094 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.4118, allocations: 436.8 kB / 1.094 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.412, allocations: 224.7 kB / 1.094 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.4122, allocations: 77.67 kB / 1.095 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4124, allocations: 333.9 kB / 1.095 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/0.4131, allocations: 309.8 kB / 1.095 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.4143, allocations: 498.2 kB / 1.096 GB, free: 1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.4157, allocations: 0.72 MB / 1.096 GB, free: 240 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4157, allocations: 0 / 1.096 GB, free: 240 kB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001983/0.4177, allocations: 0.9238 MB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.418, allocations: 205.5 kB / 1.097 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.418, allocations: 4 kB / 1.097 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.418, allocations: 8 kB / 1.097 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/0.4188, allocations: 175.7 kB / 1.098 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.4188, allocations: 11.94 kB / 1.098 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.4196, allocations: 177.1 kB / 1.098 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.4197, allocations: 31.98 kB / 1.098 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-06/0.4197, allocations: 4 kB / 1.098 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/0.4211, allocations: 0.677 MB / 1.098 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4211, allocations: 12.03 kB / 1.099 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.4211, allocations: 4 kB / 1.099 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.4216, allocations: 135.8 kB / 1.099 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4216, allocations: 11.98 kB / 1.099 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.4222, allocations: 131.2 kB / 1.099 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.4222, allocations: 28 kB / 1.099 GB, free: 13.64 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.0005014/0.4227, allocations: 304.9 kB / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.4229, allocations: 82.97 kB / 1.099 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.4247, allocations: 0.7022 MB / 1.1 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4248, allocations: 11.98 kB / 1.1 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4248, allocations: 96 / 1.1 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.4248, allocations: 7.922 kB / 1.1 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.428, allocations: 1.702 MB / 1.102 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.428, allocations: 4 kB / 1.102 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.4286, allocations: 148.1 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.4286, allocations: 7.938 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.4286, allocations: 20 kB / 1.102 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.4286, allocations: 4 kB / 1.102 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4287, allocations: 3.938 kB / 1.102 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.4307, allocations: 1.151 MB / 1.103 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.4308, allocations: 167.9 kB / 1.103 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.519e-05/0.4309, allocations: 23.92 kB / 1.103 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.4313, allocations: 63.95 kB / 1.103 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.4314, allocations: 36.52 kB / 1.103 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.4315, allocations: 23.98 kB / 1.103 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006228/0.4321, allocations: 487 kB / 1.104 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4321, allocations: 0 / 1.104 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001015/0.4331, allocations: 318.8 kB / 1.104 GB, free: 8.238 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.0003109/0.4334, allocations: 123.1 kB / 1.104 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.4358, allocations: 1.198 MB / 1.105 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4359, allocations: 4 kB / 1.105 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.4365, allocations: 332.2 kB / 1.106 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.4378, allocations: 177.7 kB / 1.106 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.441, allocations: 1.893 MB / 1.108 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.4416, allocations: 0.9745 MB / 1.108 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003808/0.442, allocations: 97.91 kB / 1.109 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.4422, allocations: 67.41 kB / 1.109 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.4422, allocations: 0 / 1.109 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of Templates: time 0.01845/0.4607, allocations: 9.137 MB / 1.118 GB, free: 10.22 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)