Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 100 kB / 15.05 MB, free: 1.105 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.001422/0.001421, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.61/1.61, allocations: 251.9 MB / 0.51 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006601/0.0006596, allocations: 24 kB / 0.6242 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.5444, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002812/0.5473, allocations: 2.323 MB / 0.7303 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.5489, allocations: 0.8664 MB / 0.7311 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.5491, allocations: 11.94 kB / 0.7311 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.11e-05/0.5492, allocations: 39.56 kB / 0.7312 GB, free: 8.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.5496, allocations: 79.7 kB / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.5498, allocations: 127.9 kB / 0.7314 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.5503, allocations: 317.3 kB / 0.7317 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.5506, allocations: 179.3 kB / 0.7318 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.5507, allocations: 115.3 kB / 0.7319 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.5509, allocations: 131.1 kB / 0.7321 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.5509, allocations: 15.94 kB / 0.7321 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.078e-05/0.551, allocations: 16 kB / 0.7321 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.551, allocations: 63.69 kB / 0.7322 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.5511, allocations: 89.39 kB / 0.7322 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.5515, allocations: 460.8 kB / 0.7327 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5515, allocations: 0 / 0.7327 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5515, allocations: 0 / 0.7327 GB, free: 6.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.5515, allocations: 0 / 0.7327 GB, free: 6.559 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001112/0.5527, allocations: 0.7209 MB / 0.7334 GB, free: 5.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5527, allocations: 8.031 kB / 0.7334 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.5528, allocations: 51.34 kB / 0.7334 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.5533, allocations: 371.6 kB / 0.7338 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.5533, allocations: 29 kB / 0.7338 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.5534, allocations: 43.94 kB / 0.7339 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.5541, allocations: 418.4 kB / 0.7343 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5541, allocations: 4 kB / 0.7343 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.5542, allocations: 16 kB / 0.7343 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.5542, allocations: 12 kB / 0.7343 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.5547, allocations: 307.7 kB / 0.7346 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.5569, allocations: 1.703 MB / 0.7362 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.5576, allocations: 297.2 kB / 0.7365 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.5577, allocations: 4.344 kB / 0.7365 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5577, allocations: 38.52 kB / 0.7366 GB, free: 2.355 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.5577, allocations: 4 kB / 0.7366 GB, free: 2.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0007206/0.5585, allocations: 321 kB / 0.7369 GB, free: 2.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.5585, allocations: 110.8 kB / 0.737 GB, free: 1.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.5591, allocations: 441.8 kB / 0.7374 GB, free: 1.461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.5591, allocations: 33.64 kB / 0.7374 GB, free: 1.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.5593, allocations: 259.9 kB / 0.7377 GB, free: 1.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.5594, allocations: 70.91 kB / 0.7378 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.5594, allocations: 8 kB / 0.7378 GB, free: 1.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.5596, allocations: 354.8 kB / 0.7381 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.5598, allocations: 104 kB / 0.7382 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.5601, allocations: 193.3 kB / 0.7384 GB, free: 416 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.5604, allocations: 133.9 kB / 0.7385 GB, free: 284 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5604, allocations: 0 / 0.7385 GB, free: 284 kB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006368/0.561, allocations: 363.4 kB / 0.7389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.5613, allocations: 0.6163 MB / 0.7395 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5613, allocations: 0 / 0.7395 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5613, allocations: 4 kB / 0.7395 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.5616, allocations: 75.89 kB / 0.7395 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5616, allocations: 0 / 0.7395 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.5619, allocations: 67.5 kB / 0.7396 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.5619, allocations: 16 kB / 0.7396 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.5619, allocations: 4 kB / 0.7396 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003254/0.5623, allocations: 232.2 kB / 0.7398 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5623, allocations: 4 kB / 0.7398 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.5623, allocations: 4 kB / 0.7399 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.5625, allocations: 59.91 kB / 0.7399 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5625, allocations: 4.156 kB / 0.7399 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.5627, allocations: 47.62 kB / 0.74 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.5627, allocations: 8 kB / 0.74 GB, free: 14.74 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.563, allocations: 233.1 kB / 0.7402 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.5631, allocations: 43.44 kB / 0.7402 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.5632, allocations: 39.8 kB / 0.7403 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5632, allocations: 7.938 kB / 0.7403 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5632, allocations: 4 kB / 0.7403 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.5632, allocations: 7.938 kB / 0.7403 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.5645, allocations: 0.7525 MB / 0.741 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5645, allocations: 4 kB / 0.741 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.5647, allocations: 47.91 kB / 0.7411 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.5648, allocations: 8 kB / 0.7411 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.5648, allocations: 11.98 kB / 0.7411 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5648, allocations: 4.094 kB / 0.7411 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5648, allocations: 3.938 kB / 0.7411 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.5655, allocations: 0.5007 MB / 0.7416 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5657, allocations: 124.6 kB / 0.7417 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.5657, allocations: 7.984 kB / 0.7417 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.5659, allocations: 19.98 kB / 0.7417 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.5659, allocations: 15.98 kB / 0.7417 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5659, allocations: 8 kB / 0.7418 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003394/0.5663, allocations: 307.1 kB / 0.742 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.216e-06/0.5663, allocations: 0 / 0.742 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005009/0.5668, allocations: 131.5 kB / 0.7422 GB, free: 12.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002784/0.5671, allocations: 107.2 kB / 0.7423 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.568, allocations: 381.2 kB / 0.7426 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.568, allocations: 0.625 kB / 0.7426 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.5682, allocations: 104 kB / 0.7427 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.5689, allocations: 90.36 kB / 0.7428 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.5708, allocations: 0.8392 MB / 0.7436 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.5714, allocations: 0.8194 MB / 0.7444 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.5716, allocations: 47.25 kB / 0.7445 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.5717, allocations: 31.44 kB / 0.7445 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/0.5717, allocations: 4 kB / 0.7445 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of Templates: time 0.008901/0.5806, allocations: 3.504 MB / 0.7479 GB, free: 6.398 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) Environment - environmentSimulation: