Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 212 kB / 23.02 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.759/1.759, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.538/3.538, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003789/0.003789, allocations: 59.91 kB / 1.177 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9413/0.9451, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.006635/0.9517, allocations: 3.075 MB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004703/0.9564, allocations: 2.14 MB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000636/0.9571, allocations: 23.88 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.9576, allocations: 178 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.9582, allocations: 162.6 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.9594, allocations: 0.5026 MB / 1.359 GB, free: 11.51 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.9609, allocations: 1.252 MB / 1.36 GB, free: 10.25 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007609/0.9616, allocations: 402.3 kB / 1.36 GB, free: 9.836 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005419/0.9622, allocations: 466.2 kB / 1.361 GB, free: 9.379 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.9627, allocations: 433.5 kB / 1.361 GB, free: 8.953 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.9629, allocations: 132 kB / 1.361 GB, free: 8.824 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.9632, allocations: 144 kB / 1.362 GB, free: 8.684 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.9634, allocations: 251.1 kB / 1.362 GB, free: 8.438 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004551/0.9639, allocations: 421.8 kB / 1.362 GB, free: 8.023 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.9658, allocations: 1.45 MB / 1.364 GB, free: 6.57 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9658, allocations: 4 kB / 1.364 GB, free: 6.566 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9658, allocations: 0 / 1.364 GB, free: 6.566 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.9658, allocations: 0 / 1.364 GB, free: 6.566 MB / 1.042 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.003046/0.9689, allocations: 1.555 MB / 1.365 GB, free: 4.957 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.9689, allocations: 12.92 kB / 1.365 GB, free: 4.945 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.9692, allocations: 124.2 kB / 1.365 GB, free: 4.824 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.9702, allocations: 0.5387 MB / 1.366 GB, free: 4.254 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/0.9703, allocations: 74.38 kB / 1.366 GB, free: 4.184 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.9704, allocations: 96.38 kB / 1.366 GB, free: 4.09 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.9723, allocations: 0.9818 MB / 1.367 GB, free: 3.051 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.9723, allocations: 4.125 kB / 1.367 GB, free: 3.047 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.9724, allocations: 39.94 kB / 1.367 GB, free: 3.008 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.9724, allocations: 20 kB / 1.367 GB, free: 2.988 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.9738, allocations: 0.6324 MB / 1.368 GB, free: 2.355 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004885/0.9787, allocations: 2.524 MB / 1.37 GB, free: 15.74 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.9803, allocations: 0.6642 MB / 1.371 GB, free: 15.07 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.981, allocations: 350.5 kB / 1.371 GB, free: 14.72 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.9811, allocations: 12.64 kB / 1.371 GB, free: 14.71 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007597/0.9818, allocations: 344.4 kB / 1.371 GB, free: 14.36 MB / 1.057 GB Notification: Performance of pre-optimization done (n=68): time 3.346e-06/0.9818, allocations: 0 / 1.371 GB, free: 14.36 MB / 1.057 GB Notification: Performance of matching and sorting (n=68): time 0.001899/0.9837, allocations: 0.8332 MB / 1.372 GB, free: 13.52 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.9839, allocations: 188.6 kB / 1.372 GB, free: 13.29 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008232/0.9847, allocations: 0.5811 MB / 1.373 GB, free: 12.7 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.9848, allocations: 41.7 kB / 1.373 GB, free: 12.66 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.9852, allocations: 452.6 kB / 1.373 GB, free: 12.21 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.9854, allocations: 246.8 kB / 1.374 GB, free: 11.97 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.9857, allocations: 146.6 kB / 1.374 GB, free: 11.82 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002407/0.986, allocations: 386.7 kB / 1.374 GB, free: 11.43 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.9867, allocations: 322.4 kB / 1.375 GB, free: 11.11 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.9878, allocations: 0.7626 MB / 1.375 GB, free: 10.21 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.9892, allocations: 0.6696 MB / 1.376 GB, free: 9.488 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.9892, allocations: 8 kB / 1.376 GB, free: 9.48 MB / 1.057 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00215/0.9913, allocations: 0.9063 MB / 1.377 GB, free: 8.555 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.9914, allocations: 33.7 kB / 1.377 GB, free: 8.516 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9914, allocations: 4 kB / 1.377 GB, free: 8.512 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.9914, allocations: 4 kB / 1.377 GB, free: 8.508 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.9921, allocations: 163.8 kB / 1.377 GB, free: 8.348 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.9921, allocations: 16.02 kB / 1.377 GB, free: 8.332 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.9928, allocations: 127.5 kB / 1.377 GB, free: 8.207 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.9928, allocations: 28 kB / 1.377 GB, free: 8.18 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007618/0.9936, allocations: 427.7 kB / 1.378 GB, free: 7.754 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008967/0.9945, allocations: 0.6961 MB / 1.378 GB, free: 6.922 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009903/0.9955, allocations: 0.5604 MB / 1.379 GB, free: 6.316 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.058e-05/0.9955, allocations: 7.938 kB / 1.379 GB, free: 6.309 MB / 1.057 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001518/0.997, allocations: 0.785 MB / 1.38 GB, free: 5.504 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.9971, allocations: 42.06 kB / 1.38 GB, free: 5.457 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9971, allocations: 8 kB / 1.38 GB, free: 5.449 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.9971, allocations: 8 kB / 1.38 GB, free: 5.441 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.9976, allocations: 135.8 kB / 1.38 GB, free: 5.309 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.9976, allocations: 7.938 kB / 1.38 GB, free: 5.301 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.9982, allocations: 111.5 kB / 1.38 GB, free: 5.191 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.9983, allocations: 28 kB / 1.38 GB, free: 5.164 MB / 1.057 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.000314/0.9986, allocations: 240.5 kB / 1.38 GB, free: 4.922 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.9987, allocations: 71.53 kB / 1.38 GB, free: 4.852 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/1, allocations: 0.6488 MB / 1.381 GB, free: 4.195 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1, allocations: 4 kB / 1.381 GB, free: 4.191 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1, allocations: 4.188 kB / 1.381 GB, free: 4.188 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1, allocations: 3.984 kB / 1.381 GB, free: 4.184 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/1.003, allocations: 1.423 MB / 1.382 GB, free: 2.695 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.003, allocations: 4 kB / 1.382 GB, free: 2.691 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/1.004, allocations: 127.8 kB / 1.382 GB, free: 2.566 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/1.004, allocations: 8.219 kB / 1.382 GB, free: 2.559 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/1.004, allocations: 31.92 kB / 1.382 GB, free: 2.527 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/1.004, allocations: 4 kB / 1.382 GB, free: 2.523 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.004, allocations: 4 kB / 1.382 GB, free: 2.52 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/1.007, allocations: 1.084 MB / 1.383 GB, free: 1.391 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/1.007, allocations: 87.44 kB / 1.384 GB, free: 1.305 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/1.007, allocations: 19.94 kB / 1.384 GB, free: 1.285 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/1.007, allocations: 44.08 kB / 1.384 GB, free: 1.242 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.007, allocations: 52.36 kB / 1.384 GB, free: 1.191 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/1.007, allocations: 27.98 kB / 1.384 GB, free: 1.164 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0006096/1.008, allocations: 402.8 kB / 1.384 GB, free: 0.7734 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/1.008, allocations: 0 / 1.384 GB, free: 0.7734 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.00112/1.009, allocations: 358.8 kB / 1.384 GB, free: 432 kB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.D.x,noLimPID.I.y,limPD.D.x,limPI.I.y,limPID.D.x,limPID.I.y) * 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.0002733/1.009, allocations: 119.1 kB / 1.385 GB, free: 304 kB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002999/1.012, allocations: 1.124 MB / 1.386 GB, free: 15.14 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.012, allocations: 4 kB / 1.386 GB, free: 15.14 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/1.013, allocations: 286.5 kB / 1.386 GB, free: 14.85 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.015, allocations: 188.4 kB / 1.386 GB, free: 14.67 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/1.019, allocations: 1.508 MB / 1.388 GB, free: 13.11 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/1.02, allocations: 384.4 kB / 1.388 GB, free: 12.7 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0005797/1.02, allocations: 93.3 kB / 1.388 GB, free: 12.61 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/1.02, allocations: 55.42 kB / 1.388 GB, free: 12.55 MB / 1.073 GB Notification: Performance of SimCode: time 8.42e-07/1.02, allocations: 0 / 1.388 GB, free: 12.55 MB / 1.073 GB Notification: Performance of Templates: time 0.03099/1.051, allocations: 10.71 MB / 1.399 GB, free: 2.039 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.010439697653055]