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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001552/0.001552, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.804/1.804, allocations: 205.1 MB / 222 MB, free: 4.996 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.621/1.621, allocations: 251.6 MB / 0.5088 GB, free: 3.367 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.001629/0.001629, allocations: 67.89 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7756, allocations: 104.7 MB / 0.7238 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005624/0.7812, allocations: 4.431 MB / 0.7282 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.7844, allocations: 1.39 MB / 0.7295 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.7851, allocations: 22.53 kB / 0.7295 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.7856, allocations: 157.1 kB / 0.7297 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.7861, allocations: 97.09 kB / 0.7298 GB, free: 6.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.7867, allocations: 351.7 kB / 0.7301 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.7878, allocations: 1.091 MB / 0.7312 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009569/0.7887, allocations: 0.6651 MB / 0.7318 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.7891, allocations: 358.7 kB / 0.7322 GB, free: 4.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.7895, allocations: 449.1 kB / 0.7326 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.7897, allocations: 62.25 kB / 0.7327 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.7898, allocations: 62.5 kB / 0.7327 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.7899, allocations: 207.1 kB / 0.7329 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.7903, allocations: 482.2 kB / 0.7334 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008987/0.7912, allocations: 1.338 MB / 0.7347 GB, free: 2.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7912, allocations: 5.188 kB / 0.7347 GB, free: 2.465 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7912, allocations: 0 / 0.7347 GB, free: 2.465 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.7912, allocations: 0 / 0.7347 GB, free: 2.465 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.003058/0.7943, allocations: 1.448 MB / 0.7361 GB, free: 1.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.12e-05/0.7944, allocations: 9.125 kB / 0.7361 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.7947, allocations: 132 kB / 0.7362 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.7959, allocations: 0.654 MB / 0.7369 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.7961, allocations: 74.09 kB / 0.7369 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.7963, allocations: 107.1 kB / 0.737 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.7982, allocations: 0.9636 MB / 0.738 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.7983, allocations: 3.938 kB / 0.738 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/0.7983, allocations: 42.81 kB / 0.738 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.7984, allocations: 23.09 kB / 0.738 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.7999, allocations: 0.6685 MB / 0.7387 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.8049, allocations: 3.552 MB / 0.7422 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.8061, allocations: 0.6918 MB / 0.7428 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/0.8067, allocations: 402.9 kB / 0.7432 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.8068, allocations: 12.66 kB / 0.7432 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008217/0.8076, allocations: 344.4 kB / 0.7436 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.925e-06/0.8076, allocations: 0 / 0.7436 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.001712/0.8094, allocations: 0.8443 MB / 0.7444 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.8095, allocations: 166.9 kB / 0.7446 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008231/0.8103, allocations: 0.6845 MB / 0.7452 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.8104, allocations: 41.7 kB / 0.7453 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.8107, allocations: 479.9 kB / 0.7457 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.8109, allocations: 256.2 kB / 0.746 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.8111, allocations: 130.7 kB / 0.7461 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8113, allocations: 341.9 kB / 0.7464 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.8118, allocations: 252.7 kB / 0.7467 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.8124, allocations: 395.6 kB / 0.747 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.8134, allocations: 0.5825 MB / 0.7476 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8134, allocations: 0 / 0.7476 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001292/0.8147, allocations: 0.7542 MB / 0.7483 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8147, allocations: 8 kB / 0.7483 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8148, allocations: 0 / 0.7483 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.8148, allocations: 11.94 kB / 0.7484 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.8154, allocations: 151.8 kB / 0.7485 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.8154, allocations: 4 kB / 0.7485 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.8158, allocations: 103.3 kB / 0.7486 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.8159, allocations: 28 kB / 0.7486 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00058/0.8165, allocations: 374 kB / 0.749 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004164/0.8169, allocations: 343.7 kB / 0.7493 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006723/0.8176, allocations: 0.4966 MB / 0.7498 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.8176, allocations: 0 / 0.7498 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.0009334/0.8185, allocations: 0.6604 MB / 0.7504 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.8185, allocations: 8 kB / 0.7505 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.8186, allocations: 0 / 0.7505 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.8186, allocations: 4 kB / 0.7505 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.819, allocations: 143.8 kB / 0.7506 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.8191, allocations: 8.188 kB / 0.7506 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.8194, allocations: 79.44 kB / 0.7507 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.8194, allocations: 20 kB / 0.7507 GB, free: 3.289 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.0002055/0.8196, allocations: 228 kB / 0.7509 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.8197, allocations: 90.86 kB / 0.751 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.8199, allocations: 92.81 kB / 0.7511 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.8199, allocations: 8 kB / 0.7511 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.8199, allocations: 4 kB / 0.7511 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.82, allocations: 3.984 kB / 0.7511 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.8223, allocations: 1.64 MB / 0.7527 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8223, allocations: 0 / 0.7527 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.8228, allocations: 139.9 kB / 0.7528 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8229, allocations: 0 / 0.7528 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.8229, allocations: 15.98 kB / 0.7529 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.8229, allocations: 8 kB / 0.7529 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.8229, allocations: 3.938 kB / 0.7529 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.8246, allocations: 1.065 MB / 0.7539 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.8248, allocations: 163.9 kB / 0.7541 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.8248, allocations: 16 kB / 0.7541 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.8252, allocations: 43.97 kB / 0.7541 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.8253, allocations: 44.53 kB / 0.7542 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.8253, allocations: 19.98 kB / 0.7542 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005446/0.8258, allocations: 479 kB / 0.7546 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8258, allocations: 0 / 0.7546 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007263/0.8266, allocations: 334.3 kB / 0.755 GB, free: 14.82 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.0002167/0.8268, allocations: 128.9 kB / 0.7551 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.8283, allocations: 0.9197 MB / 0.756 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8283, allocations: 128 / 0.756 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.8288, allocations: 319.5 kB / 0.7563 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/0.8298, allocations: 210 kB / 0.7565 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.8325, allocations: 2.097 MB / 0.7585 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.8331, allocations: 1.029 MB / 0.7595 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003716/0.8335, allocations: 110.2 kB / 0.7596 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.8337, allocations: 59.42 kB / 0.7597 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.8337, allocations: 0 / 0.7597 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.01492/0.8486, allocations: 8.176 MB / 0.7677 GB, free: 1.816 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (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)