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.0008194/0.0008193, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006132/0.006132, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.705/1.705, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.573/1.573, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0005097/0.0005096, allocations: 16 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/0.634, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005502/0.6395, allocations: 5.003 MB / 0.7336 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004335/0.6439, allocations: 1.74 MB / 0.7353 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.645, allocations: 31.88 kB / 0.7354 GB, free: 4.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.6456, allocations: 194.2 kB / 0.7355 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006694/0.6463, allocations: 138.9 kB / 0.7357 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.6472, allocations: 451.5 kB / 0.7361 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.6487, allocations: 1.425 MB / 0.7375 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009842/0.6497, allocations: 0.6754 MB / 0.7382 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.6502, allocations: 349.6 kB / 0.7385 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.6506, allocations: 428.9 kB / 0.7389 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.97e-05/0.6507, allocations: 36 kB / 0.7389 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.6508, allocations: 36 kB / 0.739 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.6509, allocations: 182.8 kB / 0.7391 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.6513, allocations: 0.4941 MB / 0.7396 GB, free: 52 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.6526, allocations: 1.535 MB / 0.7411 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6526, allocations: 0 / 0.7411 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6526, allocations: 0 / 0.7411 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.6526, allocations: 4 kB / 0.7411 GB, free: 14.51 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.00304/0.6557, allocations: 1.518 MB / 0.7426 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.6558, allocations: 12.03 kB / 0.7426 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.656, allocations: 159 kB / 0.7428 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6572, allocations: 0.7625 MB / 0.7435 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/0.6572, allocations: 82.45 kB / 0.7436 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.6574, allocations: 112.3 kB / 0.7437 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.6594, allocations: 1.114 MB / 0.7448 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6594, allocations: 4 kB / 0.7448 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.6595, allocations: 55.86 kB / 0.7448 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.6595, allocations: 24 kB / 0.7449 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.6614, allocations: 0.8861 MB / 0.7457 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005876/0.6673, allocations: 4.148 MB / 0.7498 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.6697, allocations: 1.088 MB / 0.7509 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009382/0.6706, allocations: 499.6 kB / 0.7513 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.6707, allocations: 13 kB / 0.7513 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009709/0.6717, allocations: 465 kB / 0.7518 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 3.797e-06/0.6717, allocations: 0 / 0.7518 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.002561/0.6743, allocations: 1.155 MB / 0.7529 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.6744, allocations: 214.6 kB / 0.7531 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.6756, allocations: 0.8898 MB / 0.754 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/0.6757, allocations: 45.7 kB / 0.754 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.6761, allocations: 0.5431 MB / 0.7546 GB, free: 332 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.6764, allocations: 287.8 kB / 0.7548 GB, free: 40 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.6765, allocations: 77.67 kB / 0.7549 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6766, allocations: 334 kB / 0.7552 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008006/0.6774, allocations: 353.8 kB / 0.7556 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009508/0.6784, allocations: 0.5475 MB / 0.7561 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.68, allocations: 0.7924 MB / 0.7569 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.68, allocations: 0 / 0.7569 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002053/0.682, allocations: 1.019 MB / 0.7579 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.6822, allocations: 144.2 kB / 0.758 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6822, allocations: 8 kB / 0.758 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.6822, allocations: 4 kB / 0.758 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.683, allocations: 219.7 kB / 0.7582 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.683, allocations: 4 kB / 0.7582 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/0.6838, allocations: 186.8 kB / 0.7584 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.6838, allocations: 28 kB / 0.7584 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.6839, allocations: 5.562 kB / 0.7584 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001174/0.685, allocations: 0.7028 MB / 0.7591 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6851, allocations: 4 kB / 0.7591 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6851, allocations: 8 kB / 0.7591 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.6857, allocations: 163.8 kB / 0.7593 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.6857, allocations: 7.984 kB / 0.7593 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.6863, allocations: 127.3 kB / 0.7594 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.6864, allocations: 28 kB / 0.7594 GB, free: 11.17 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.0005238/0.6869, allocations: 332.9 kB / 0.7598 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.687, allocations: 110.6 kB / 0.7599 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.6873, allocations: 123.2 kB / 0.76 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.6873, allocations: 8 kB / 0.76 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.6873, allocations: 3.938 kB / 0.76 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.6873, allocations: 3.984 kB / 0.76 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.6884, allocations: 0.9714 MB / 0.761 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6884, allocations: 0 / 0.761 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.6892, allocations: 183.8 kB / 0.7611 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.6892, allocations: 4 kB / 0.7611 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.6892, allocations: 19.98 kB / 0.7612 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6893, allocations: 4 kB / 0.7612 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6893, allocations: 0 / 0.7612 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.6919, allocations: 1.334 MB / 0.7625 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.6921, allocations: 195.5 kB / 0.7626 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6922, allocations: 16 kB / 0.7627 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.6927, allocations: 83.94 kB / 0.7627 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.6928, allocations: 52.86 kB / 0.7628 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.6929, allocations: 27.98 kB / 0.7628 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007983/0.6937, allocations: 0.6074 MB / 0.7634 GB, free: 7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6937, allocations: 0 / 0.7634 GB, free: 7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009117/0.6946, allocations: 370.5 kB / 0.7638 GB, free: 6.637 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.0002208/0.6948, allocations: 131.1 kB / 0.7639 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002496/0.6973, allocations: 1.221 MB / 0.7651 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6973, allocations: 4 kB / 0.7651 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000833/0.6982, allocations: 418.3 kB / 0.7655 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.6994, allocations: 250.8 kB / 0.7657 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.7028, allocations: 2.407 MB / 0.7681 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.7035, allocations: 1.077 MB / 0.7691 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006029/0.7041, allocations: 128 kB / 0.7692 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.7043, allocations: 87.41 kB / 0.7693 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.7043, allocations: 0 / 0.7693 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of Templates: time 0.02051/0.7249, allocations: 10.61 MB / 0.7797 GB, free: 6.375 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: