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.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001975/0.001975, allocations: 192.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 222 MB, free: 4.773 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.624/1.624, allocations: 251.7 MB / 0.5088 GB, free: 3.289 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.001451/0.001451, allocations: 63.92 kB / 0.6216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7977, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007326/0.805, allocations: 5.52 MB / 0.7292 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004577/0.8097, allocations: 1.767 MB / 0.7309 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.8113, allocations: 31.88 kB / 0.731 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007425/0.8121, allocations: 194.2 kB / 0.7312 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009108/0.813, allocations: 138.9 kB / 0.7313 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.8142, allocations: 459.5 kB / 0.7317 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.8158, allocations: 1.421 MB / 0.7331 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.8169, allocations: 0.6911 MB / 0.7338 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.8175, allocations: 433.6 kB / 0.7342 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.8181, allocations: 0.5242 MB / 0.7347 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.8182, allocations: 72 kB / 0.7348 GB, free: 1.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.8184, allocations: 68 kB / 0.7349 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.8186, allocations: 246.7 kB / 0.7351 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.8192, allocations: 0.5509 MB / 0.7356 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.8208, allocations: 1.598 MB / 0.7372 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.8208, allocations: 0 / 0.7372 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8208, allocations: 0 / 0.7372 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.8208, allocations: 4 kB / 0.7372 GB, free: 15.38 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.003474/0.8243, allocations: 1.692 MB / 0.7388 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.8244, allocations: 12.03 kB / 0.7389 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/0.8247, allocations: 151.1 kB / 0.739 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.8258, allocations: 0.7664 MB / 0.7397 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.72e-05/0.8259, allocations: 82.45 kB / 0.7398 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.8261, allocations: 108.3 kB / 0.7399 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.828, allocations: 1.099 MB / 0.741 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.8281, allocations: 0 / 0.741 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.8281, allocations: 44 kB / 0.741 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.8282, allocations: 24 kB / 0.7411 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.8301, allocations: 0.8391 MB / 0.7419 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005819/0.8359, allocations: 4.101 MB / 0.7459 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.8381, allocations: 0.9837 MB / 0.7469 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008987/0.8391, allocations: 467.6 kB / 0.7473 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.8391, allocations: 20.97 kB / 0.7473 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.8401, allocations: 429 kB / 0.7477 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 3.086e-06/0.8402, allocations: 3.938 kB / 0.7477 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.002447/0.8426, allocations: 1.061 MB / 0.7488 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.8428, allocations: 222.6 kB / 0.749 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.844, allocations: 0.886 MB / 0.7498 GB, free: 2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/0.8441, allocations: 45.7 kB / 0.7499 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.8445, allocations: 0.543 MB / 0.7504 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.8448, allocations: 287.8 kB / 0.7507 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.845, allocations: 150.7 kB / 0.7508 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8452, allocations: 341.9 kB / 0.7512 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006938/0.8459, allocations: 332.7 kB / 0.7515 GB, free: 296 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008712/0.8468, allocations: 0.5085 MB / 0.752 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.8482, allocations: 0.7299 MB / 0.7527 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8482, allocations: 4 kB / 0.7527 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00188/0.8501, allocations: 0.9491 MB / 0.7536 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8501, allocations: 4 kB / 0.7536 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8501, allocations: 4 kB / 0.7536 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.8502, allocations: 4 kB / 0.7536 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.851, allocations: 199.7 kB / 0.7538 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.851, allocations: 12.12 kB / 0.7538 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/0.8517, allocations: 146.9 kB / 0.754 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.8518, allocations: 31.94 kB / 0.754 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008152/0.8526, allocations: 438 kB / 0.7544 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006107/0.8532, allocations: 440.8 kB / 0.7548 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001056/0.8543, allocations: 0.6128 MB / 0.7554 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/0.8543, allocations: 4 kB / 0.7554 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.001405/0.8557, allocations: 0.8087 MB / 0.7562 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.8557, allocations: 8.031 kB / 0.7562 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.8557, allocations: 4 kB / 0.7562 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.8557, allocations: 4 kB / 0.7562 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.8563, allocations: 171.7 kB / 0.7564 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8564, allocations: 4 kB / 0.7564 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.8569, allocations: 111.3 kB / 0.7565 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.857, allocations: 32 kB / 0.7566 GB, free: 10.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0003176/0.8573, allocations: 236 kB / 0.7568 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.8574, allocations: 106.6 kB / 0.7569 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.8577, allocations: 119.2 kB / 0.757 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.8577, allocations: 8 kB / 0.757 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.8577, allocations: 0 / 0.757 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.8578, allocations: 3.984 kB / 0.757 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.859, allocations: 0.9831 MB / 0.758 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.859, allocations: 0 / 0.758 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.8597, allocations: 163.8 kB / 0.7581 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.8597, allocations: 4 kB / 0.7581 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/0.8597, allocations: 19.98 kB / 0.7581 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.8598, allocations: 4 kB / 0.7581 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.8598, allocations: 0 / 0.7581 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.8621, allocations: 1.241 MB / 0.7594 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.8625, allocations: 187.6 kB / 0.7595 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.8626, allocations: 20 kB / 0.7596 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.863, allocations: 59.94 kB / 0.7596 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.8632, allocations: 56.92 kB / 0.7597 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.8632, allocations: 27.92 kB / 0.7597 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008552/0.8641, allocations: 0.6074 MB / 0.7603 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8641, allocations: 0 / 0.7603 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009629/0.865, allocations: 378.4 kB / 0.7606 GB, free: 6.586 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002709/0.8653, allocations: 123.1 kB / 0.7608 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.8678, allocations: 1.155 MB / 0.7619 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8678, allocations: 0 / 0.7619 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.8686, allocations: 394.2 kB / 0.7623 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.8697, allocations: 249.8 kB / 0.7625 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.8731, allocations: 2.353 MB / 0.7648 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/0.8738, allocations: 1.077 MB / 0.7659 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006097/0.8744, allocations: 136.2 kB / 0.766 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.8746, allocations: 83.41 kB / 0.7661 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/0.8747, allocations: 0 / 0.7661 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of Templates: time 0.02197/0.8966, allocations: 10.7 MB / 0.7765 GB, free: 6.387 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)