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.01092/0.01092, allocations: 101.7 kB / 15.73 MB, free: 6.488 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.001851/0.001851, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.5 MB, free: 4.512 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.652/1.652, allocations: 251.7 MB / 0.5094 GB, free: 3.09 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.001406/0.001406, allocations: 75.89 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3235, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007561/0.3312, allocations: 5.572 MB / 0.8336 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004786/0.336, allocations: 1.834 MB / 0.8353 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009783/0.337, allocations: 39.88 kB / 0.8354 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.3377, allocations: 249.3 kB / 0.8356 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.3386, allocations: 213.4 kB / 0.8358 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3397, allocations: 0.5225 MB / 0.8363 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.3413, allocations: 1.538 MB / 0.8378 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.3424, allocations: 0.7184 MB / 0.8385 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.343, allocations: 0.5132 MB / 0.839 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005235/0.3435, allocations: 0.5672 MB / 0.8396 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.3437, allocations: 148 kB / 0.8397 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.3439, allocations: 152 kB / 0.8399 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.3441, allocations: 318.8 kB / 0.8402 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.3447, allocations: 0.6252 MB / 0.8408 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.3463, allocations: 1.743 MB / 0.8425 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.3463, allocations: 4 kB / 0.8425 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3463, allocations: 0 / 0.8425 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.3463, allocations: 0 / 0.8425 GB, free: 1.316 MB / 0.6544 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.003128/0.3495, allocations: 1.696 MB / 0.8442 GB, free: 15.56 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.3495, allocations: 8.031 kB / 0.8442 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.3498, allocations: 163.1 kB / 0.8443 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.351, allocations: 0.782 MB / 0.8451 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.3511, allocations: 82.45 kB / 0.8452 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3512, allocations: 116.3 kB / 0.8453 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.3531, allocations: 1.087 MB / 0.8463 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.3531, allocations: 0 / 0.8463 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.3532, allocations: 48 kB / 0.8464 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.3533, allocations: 24 kB / 0.8464 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.355, allocations: 0.8274 MB / 0.8472 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005465/0.3604, allocations: 4.069 MB / 0.8512 GB, free: 8.102 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.3625, allocations: 0.9836 MB / 0.8521 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.3634, allocations: 475.4 kB / 0.8526 GB, free: 6.648 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/0.3635, allocations: 12.98 kB / 0.8526 GB, free: 6.633 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009361/0.3644, allocations: 433 kB / 0.853 GB, free: 6.199 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 4.438e-06/0.3645, allocations: 0 / 0.853 GB, free: 6.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.002333/0.3668, allocations: 1.061 MB / 0.8541 GB, free: 5.133 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.367, allocations: 222.6 kB / 0.8543 GB, free: 4.863 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.3684, allocations: 0.8822 MB / 0.8551 GB, free: 3.961 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/0.3685, allocations: 49.69 kB / 0.8552 GB, free: 3.906 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/0.3691, allocations: 0.543 MB / 0.8557 GB, free: 3.355 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.3694, allocations: 283.8 kB / 0.856 GB, free: 3.074 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.3697, allocations: 154.6 kB / 0.8561 GB, free: 2.918 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3699, allocations: 337.9 kB / 0.8565 GB, free: 2.582 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.3707, allocations: 332.7 kB / 0.8568 GB, free: 2.254 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009327/0.3716, allocations: 0.5085 MB / 0.8573 GB, free: 1.684 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.3732, allocations: 0.7377 MB / 0.858 GB, free: 0.918 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.3732, allocations: 4 kB / 0.858 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00205/0.3753, allocations: 0.9491 MB / 0.8589 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.3753, allocations: 4 kB / 0.8589 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.3753, allocations: 4 kB / 0.8589 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/0.3754, allocations: 4 kB / 0.8589 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/0.3762, allocations: 207.8 kB / 0.8591 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.3762, allocations: 8 kB / 0.8591 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.3769, allocations: 138.9 kB / 0.8593 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.377, allocations: 28 kB / 0.8593 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007702/0.3777, allocations: 438 kB / 0.8597 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006475/0.3784, allocations: 448.8 kB / 0.8601 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001057/0.3795, allocations: 0.6089 MB / 0.8607 GB, free: 14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.881e-06/0.3795, allocations: 0 / 0.8607 GB, free: 14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.001575/0.3811, allocations: 0.8087 MB / 0.8615 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3811, allocations: 8.031 kB / 0.8615 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.3811, allocations: 11.97 kB / 0.8615 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3811, allocations: 4 kB / 0.8615 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.3818, allocations: 163.8 kB / 0.8617 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.3818, allocations: 8 kB / 0.8617 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.3824, allocations: 111.3 kB / 0.8618 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.3824, allocations: 32 kB / 0.8618 GB, free: 12.86 MB / 0.6856 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.0003003/0.3827, allocations: 243.2 kB / 0.8621 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.3829, allocations: 106.6 kB / 0.8622 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3832, allocations: 119.2 kB / 0.8623 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.3832, allocations: 8 kB / 0.8623 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.3832, allocations: 4 kB / 0.8623 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.3832, allocations: 3.984 kB / 0.8623 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.3847, allocations: 0.9753 MB / 0.8633 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.505e-06/0.3848, allocations: 0 / 0.8633 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.3859, allocations: 163.8 kB / 0.8634 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.012e-05/0.3859, allocations: 4 kB / 0.8634 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/0.386, allocations: 19.98 kB / 0.8634 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.386, allocations: 4 kB / 0.8634 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.386, allocations: 0 / 0.8634 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/0.3904, allocations: 1.233 MB / 0.8646 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.3909, allocations: 195.5 kB / 0.8648 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.3911, allocations: 23.94 kB / 0.8649 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.3918, allocations: 59.88 kB / 0.8649 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.392, allocations: 56.92 kB / 0.865 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.3921, allocations: 27.94 kB / 0.865 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001581/0.3937, allocations: 0.6035 MB / 0.8656 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3937, allocations: 0 / 0.8656 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001673/0.3954, allocations: 378.4 kB / 0.8659 GB, free: 8.551 MB / 0.6856 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.0004226/0.3958, allocations: 127.1 kB / 0.8661 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.3995, allocations: 1.158 MB / 0.8672 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3996, allocations: 0 / 0.8672 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4007, allocations: 386.3 kB / 0.8676 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.4024, allocations: 277.9 kB / 0.8678 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/0.408, allocations: 1.872 MB / 0.8697 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.4091, allocations: 1.077 MB / 0.8707 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009041/0.41, allocations: 132 kB / 0.8708 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.4104, allocations: 79.42 kB / 0.8709 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of SimCode: time 1.914e-06/0.4104, allocations: 0 / 0.8709 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of Templates: time 0.04337/0.4538, allocations: 11.44 MB / 0.8821 GB, free: 8.074 MB / 0.7012 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)