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.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001276/0.001276, allocations: 168.7 kB / 15.95 MB, free: 204 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.811/1.811, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.622/1.622, allocations: 252 MB / 0.5102 GB, free: 4.762 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.0005542/0.0005544, allocations: 16 kB / 0.6243 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.6551, allocations: 106.3 MB / 0.7282 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.007595/0.6628, allocations: 3.684 MB / 0.7318 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005789/0.6686, allocations: 1.35 MB / 0.7331 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.6703, allocations: 19.94 kB / 0.7331 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007548/0.6711, allocations: 154.5 kB / 0.7332 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008186/0.6719, allocations: 95.17 kB / 0.7333 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.6731, allocations: 255.7 kB / 0.7336 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002268/0.6754, allocations: 1.018 MB / 0.7346 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.6767, allocations: 485.2 kB / 0.735 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005688/0.6773, allocations: 254.4 kB / 0.7353 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.678, allocations: 321.7 kB / 0.7356 GB, free: 3.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.6781, allocations: 28 kB / 0.7356 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.6782, allocations: 28 kB / 0.7356 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.6784, allocations: 147.1 kB / 0.7358 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.6787, allocations: 185.1 kB / 0.736 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.6805, allocations: 1.069 MB / 0.737 GB, free: 2.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.6805, allocations: 0 / 0.737 GB, free: 2.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.759e-06/0.6805, allocations: 0 / 0.737 GB, free: 2.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.6805, allocations: 0 / 0.737 GB, free: 2.43 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003874/0.6844, allocations: 1.293 MB / 0.7383 GB, free: 1.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.6845, allocations: 8.031 kB / 0.7383 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.6848, allocations: 142.4 kB / 0.7384 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.6864, allocations: 0.6296 MB / 0.739 GB, free: 272 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.6865, allocations: 74 kB / 0.7391 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.6867, allocations: 96 kB / 0.7392 GB, free: 100 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.6896, allocations: 0.9748 MB / 0.7401 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.6897, allocations: 0 / 0.7401 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.6898, allocations: 43.98 kB / 0.7402 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.6898, allocations: 24 kB / 0.7402 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.6925, allocations: 0.6987 MB / 0.7409 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008473/0.701, allocations: 3.573 MB / 0.7444 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.7035, allocations: 0.734 MB / 0.7451 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.7048, allocations: 414.9 kB / 0.7455 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/0.7049, allocations: 12.64 kB / 0.7455 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.706, allocations: 364.4 kB / 0.7458 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 4.368e-06/0.706, allocations: 3.938 kB / 0.7458 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.003409/0.7094, allocations: 0.8873 MB / 0.7467 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.7096, allocations: 166.9 kB / 0.7469 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.7116, allocations: 0.6728 MB / 0.7475 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.7118, allocations: 41.7 kB / 0.7476 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/0.7124, allocations: 483.8 kB / 0.748 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.7128, allocations: 244.4 kB / 0.7483 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.7129, allocations: 16 kB / 0.7483 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.7131, allocations: 337.9 kB / 0.7486 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.7142, allocations: 257.9 kB / 0.7488 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.7154, allocations: 403.7 kB / 0.7492 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.7166, allocations: 307 kB / 0.7495 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.7166, allocations: 0 / 0.7495 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002685/0.7193, allocations: 0.7815 MB / 0.7503 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.7195, allocations: 138.2 kB / 0.7504 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.7195, allocations: 3.984 kB / 0.7504 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.7196, allocations: 4 kB / 0.7504 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.7208, allocations: 171.7 kB / 0.7506 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.7208, allocations: 7.938 kB / 0.7506 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/0.7217, allocations: 119.2 kB / 0.7507 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/0.7218, allocations: 27.98 kB / 0.7507 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7219, allocations: 5.875 kB / 0.7507 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/0.7234, allocations: 0.5506 MB / 0.7513 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7235, allocations: 4 kB / 0.7513 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7235, allocations: 8.141 kB / 0.7513 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009384/0.7245, allocations: 147.8 kB / 0.7514 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.7245, allocations: 4 kB / 0.7514 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.7252, allocations: 83.27 kB / 0.7515 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.7253, allocations: 28 kB / 0.7515 GB, free: 3.102 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: 6 (intWitRes4.trigger_internal,$whenCondition1,limPIDInp.trigger,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0005895/0.7259, allocations: 309 kB / 0.7518 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.7261, allocations: 82.97 kB / 0.7519 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.7263, allocations: 96.77 kB / 0.752 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.7264, allocations: 11.98 kB / 0.752 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.7264, allocations: 0 / 0.752 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.7264, allocations: 7.922 kB / 0.752 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.7291, allocations: 1.671 MB / 0.7537 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.7291, allocations: 0 / 0.7537 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.7297, allocations: 143.8 kB / 0.7538 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.7297, allocations: 4 kB / 0.7538 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.7298, allocations: 20 kB / 0.7538 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.7298, allocations: 0 / 0.7538 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7298, allocations: 4 kB / 0.7538 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.7317, allocations: 1.1 MB / 0.7549 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.7319, allocations: 167.9 kB / 0.7551 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.732, allocations: 19.95 kB / 0.7551 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.7324, allocations: 55.95 kB / 0.7551 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.7325, allocations: 36.61 kB / 0.7552 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.7325, allocations: 27.98 kB / 0.7552 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006462/0.7332, allocations: 467 kB / 0.7556 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7332, allocations: 0 / 0.7556 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001006/0.7342, allocations: 338.3 kB / 0.756 GB, free: 14.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.000214/0.7344, allocations: 131.2 kB / 0.7561 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.7361, allocations: 0.9426 MB / 0.757 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.7361, allocations: 0 / 0.757 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.7367, allocations: 332.1 kB / 0.7573 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.7377, allocations: 213.8 kB / 0.7575 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.7409, allocations: 2.028 MB / 0.7595 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.742, allocations: 1.018 MB / 0.7605 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006359/0.7427, allocations: 106.3 kB / 0.7606 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.7429, allocations: 63.42 kB / 0.7607 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of SimCode: time 1.753e-06/0.7429, allocations: 0 / 0.7607 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.01851/0.7614, allocations: 7.823 MB / 0.7683 GB, free: 1.859 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: