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.001038/0.001039, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008591/0.008591, allocations: 170 kB / 16.26 MB, free: 6.613 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.603/1.603, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.545/1.545, allocations: 252 MB / 0.5105 GB, free: 4.617 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.0005557/0.0005556, allocations: 23.98 kB / 0.6249 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6318/0.6324, allocations: 106.3 MB / 0.7287 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005893/0.6383, allocations: 3.96 MB / 0.7326 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004075/0.6424, allocations: 1.381 MB / 0.734 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.6438, allocations: 23.94 kB / 0.734 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.6446, allocations: 154.5 kB / 0.7341 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.6457, allocations: 95.25 kB / 0.7342 GB, free: 5.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.6469, allocations: 351.7 kB / 0.7346 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001961/0.6489, allocations: 1.088 MB / 0.7356 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.6503, allocations: 0.6435 MB / 0.7362 GB, free: 3.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000545/0.6509, allocations: 274.1 kB / 0.7365 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.6514, allocations: 341.4 kB / 0.7368 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.11e-05/0.6515, allocations: 28 kB / 0.7369 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.6516, allocations: 28 kB / 0.7369 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.6517, allocations: 151 kB / 0.737 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.6521, allocations: 422.6 kB / 0.7374 GB, free: 2.406 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.6533, allocations: 1.298 MB / 0.7387 GB, free: 1.105 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6533, allocations: 0 / 0.7387 GB, free: 1.105 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6533, allocations: 0 / 0.7387 GB, free: 1.105 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.6533, allocations: 0 / 0.7387 GB, free: 1.105 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.002187/0.6555, allocations: 1.278 MB / 0.7399 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6556, allocations: 8.031 kB / 0.74 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.6558, allocations: 135.3 kB / 0.7401 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.6566, allocations: 0.6536 MB / 0.7407 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/0.6567, allocations: 78.38 kB / 0.7408 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.6569, allocations: 96.38 kB / 0.7409 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.6585, allocations: 0.9854 MB / 0.7419 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.6585, allocations: 3.938 kB / 0.7419 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.6586, allocations: 44 kB / 0.7419 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.6586, allocations: 27.94 kB / 0.7419 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.66, allocations: 0.6987 MB / 0.7426 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005186/0.6652, allocations: 3.58 MB / 0.7461 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.6666, allocations: 0.7341 MB / 0.7468 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.6673, allocations: 422.9 kB / 0.7472 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.6673, allocations: 8.656 kB / 0.7472 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007679/0.6681, allocations: 364.4 kB / 0.7476 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 6.232e-06/0.6681, allocations: 3.984 kB / 0.7476 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.001763/0.6699, allocations: 0.8873 MB / 0.7484 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.67, allocations: 162.9 kB / 0.7486 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/0.6709, allocations: 0.6884 MB / 0.7493 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.6709, allocations: 41.7 kB / 0.7493 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.6715, allocations: 483.8 kB / 0.7498 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.6717, allocations: 252.3 kB / 0.75 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.6719, allocations: 77.61 kB / 0.7501 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.6721, allocations: 333.9 kB / 0.7504 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.6727, allocations: 265.9 kB / 0.7507 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.6734, allocations: 415.7 kB / 0.7511 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6744, allocations: 0.6136 MB / 0.7517 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6745, allocations: 0 / 0.7517 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001361/0.6758, allocations: 0.7855 MB / 0.7524 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.676, allocations: 140 kB / 0.7526 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.676, allocations: 4 kB / 0.7526 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.676, allocations: 4 kB / 0.7526 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.6766, allocations: 171.7 kB / 0.7527 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.6767, allocations: 7.938 kB / 0.7527 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.6771, allocations: 115.2 kB / 0.7528 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.6772, allocations: 31.98 kB / 0.7529 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/0.6772, allocations: 4 kB / 0.7529 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008499/0.6781, allocations: 0.5622 MB / 0.7534 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.6781, allocations: 0 / 0.7534 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.6781, allocations: 4 kB / 0.7534 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.6785, allocations: 139.8 kB / 0.7536 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.6786, allocations: 4 kB / 0.7536 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.6789, allocations: 87.45 kB / 0.7537 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.6789, allocations: 24 kB / 0.7537 GB, free: 1.309 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,limPIDInp.trigger,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004519/0.6794, allocations: 316.9 kB / 0.754 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.6795, allocations: 82.97 kB / 0.7541 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.6797, allocations: 92.8 kB / 0.7541 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.6797, allocations: 12 kB / 0.7542 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.6797, allocations: 0 / 0.7542 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6797, allocations: 3.984 kB / 0.7542 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.6822, allocations: 1.679 MB / 0.7558 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6822, allocations: 4 kB / 0.7558 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.6828, allocations: 139.9 kB / 0.7559 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6828, allocations: 0 / 0.7559 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/0.6828, allocations: 20 kB / 0.756 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6828, allocations: 0 / 0.756 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6828, allocations: 3.938 kB / 0.756 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.6847, allocations: 1.112 MB / 0.757 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.6848, allocations: 163.9 kB / 0.7572 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.6849, allocations: 20 kB / 0.7572 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.6853, allocations: 51.95 kB / 0.7573 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.6854, allocations: 36.61 kB / 0.7573 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.6855, allocations: 28.11 kB / 0.7573 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005853/0.686, allocations: 475 kB / 0.7578 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6861, allocations: 7.875 kB / 0.7578 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00077/0.6868, allocations: 342.2 kB / 0.7581 GB, free: 12.64 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 (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.0002136/0.6871, allocations: 131.2 kB / 0.7582 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.6887, allocations: 0.9506 MB / 0.7592 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6887, allocations: 3.938 kB / 0.7592 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.6893, allocations: 332.1 kB / 0.7595 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6903, allocations: 205.7 kB / 0.7597 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.6933, allocations: 2.137 MB / 0.7618 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.694, allocations: 1.029 MB / 0.7628 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000418/0.6944, allocations: 102.3 kB / 0.7629 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.6946, allocations: 63.42 kB / 0.7629 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.6946, allocations: 3.938 kB / 0.7629 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of Templates: time 0.01584/0.7105, allocations: 8.099 MB / 0.7709 GB, free: 15.63 MB / 0.5919 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: