Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001228/0.001229, allocations: 177.3 kB / 15.94 MB, free: 228 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.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.641/1.641, allocations: 251.9 MB / 0.51 GB, free: 4.816 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.0005406/0.0005406, allocations: 15.44 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5932/0.5937, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004789/0.5986, allocations: 3.683 MB / 0.7316 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.6019, allocations: 1.497 MB / 0.733 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.6025, allocations: 35.81 kB / 0.7331 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.6027, allocations: 67.23 kB / 0.7331 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008739/0.6036, allocations: 239.2 kB / 0.7333 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.6049, allocations: 0.5268 MB / 0.7339 GB, free: 5.363 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.6061, allocations: 0.7821 MB / 0.7346 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.6067, allocations: 347.4 kB / 0.735 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.6072, allocations: 370.2 kB / 0.7353 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.6077, allocations: 333.9 kB / 0.7356 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.209e-05/0.6077, allocations: 24 kB / 0.7356 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.6078, allocations: 32 kB / 0.7357 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.608, allocations: 127.3 kB / 0.7358 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.6082, allocations: 177.1 kB / 0.736 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.609, allocations: 0.8124 MB / 0.7368 GB, free: 2.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.609, allocations: 4 kB / 0.7368 GB, free: 2.355 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.165e-06/0.609, allocations: 0 / 0.7368 GB, free: 2.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.609, allocations: 0 / 0.7368 GB, free: 2.355 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002571/0.6116, allocations: 1.254 MB / 0.738 GB, free: 1.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6117, allocations: 8.031 kB / 0.738 GB, free: 1.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.6119, allocations: 126.5 kB / 0.7381 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6131, allocations: 0.6997 MB / 0.7388 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.6132, allocations: 83.62 kB / 0.7389 GB, free: 92 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.6133, allocations: 75.94 kB / 0.739 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.6147, allocations: 0.729 MB / 0.7397 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6147, allocations: 4 kB / 0.7397 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.6148, allocations: 35.98 kB / 0.7397 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.6148, allocations: 16 kB / 0.7397 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.6159, allocations: 0.5204 MB / 0.7402 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.6194, allocations: 2.294 MB / 0.7425 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.6208, allocations: 0.6505 MB / 0.7431 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.6209, allocations: 4.562 kB / 0.7431 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/0.6216, allocations: 335 kB / 0.7434 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.895e-06/0.6216, allocations: 3.938 kB / 0.7434 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.001602/0.6232, allocations: 0.7676 MB / 0.7442 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.6233, allocations: 89.67 kB / 0.7443 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.6243, allocations: 0.7443 MB / 0.745 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.6244, allocations: 41.7 kB / 0.745 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.6248, allocations: 444.5 kB / 0.7455 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.6249, allocations: 208.9 kB / 0.7457 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.625, allocations: 8 kB / 0.7457 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6251, allocations: 341.9 kB / 0.746 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.6256, allocations: 197.2 kB / 0.7462 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.6261, allocations: 304.5 kB / 0.7465 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.6266, allocations: 242.1 kB / 0.7467 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6266, allocations: 0 / 0.7467 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001181/0.6278, allocations: 0.6579 MB / 0.7473 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.6282, allocations: 0.8792 MB / 0.7482 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6282, allocations: 7.938 kB / 0.7482 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6282, allocations: 4 kB / 0.7482 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.6288, allocations: 151.7 kB / 0.7484 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.6289, allocations: 4 kB / 0.7484 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.6293, allocations: 79.34 kB / 0.7484 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.6294, allocations: 23.98 kB / 0.7485 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.6294, allocations: 4 kB / 0.7485 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009684/0.6304, allocations: 0.5207 MB / 0.749 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.6304, allocations: 4 kB / 0.749 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.6304, allocations: 4 kB / 0.749 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.631, allocations: 151.7 kB / 0.7491 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.631, allocations: 8.25 kB / 0.7491 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.6314, allocations: 67.41 kB / 0.7492 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.6314, allocations: 20 kB / 0.7492 GB, free: 5.199 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003852/0.6318, allocations: 295.2 kB / 0.7495 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.6319, allocations: 98.78 kB / 0.7496 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.6321, allocations: 101.3 kB / 0.7497 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6322, allocations: 15.94 kB / 0.7497 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.6322, allocations: 0 / 0.7497 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.6322, allocations: 4 kB / 0.7497 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.6344, allocations: 1.451 MB / 0.7511 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6344, allocations: 0 / 0.7511 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.635, allocations: 103.9 kB / 0.7512 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.635, allocations: 7.953 kB / 0.7512 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.635, allocations: 16 kB / 0.7512 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.635, allocations: 0 / 0.7512 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.635, allocations: 4 kB / 0.7512 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.6368, allocations: 0.9823 MB / 0.7522 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.6371, allocations: 219.7 kB / 0.7524 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.6372, allocations: 19.95 kB / 0.7524 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.6376, allocations: 39.95 kB / 0.7525 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.6378, allocations: 40.52 kB / 0.7525 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.6378, allocations: 23.92 kB / 0.7525 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006305/0.6385, allocations: 0.507 MB / 0.753 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6385, allocations: 4 kB / 0.753 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006945/0.6392, allocations: 271 kB / 0.7533 GB, free: 0.9062 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001541/0.6393, allocations: 119.1 kB / 0.7534 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.6409, allocations: 0.8041 MB / 0.7542 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6409, allocations: 4.062 kB / 0.7542 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.6414, allocations: 263.1 kB / 0.7544 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6424, allocations: 226 kB / 0.7547 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.6452, allocations: 1.835 MB / 0.7565 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.6458, allocations: 1.013 MB / 0.7574 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000453/0.6463, allocations: 118.7 kB / 0.7576 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.6465, allocations: 59.42 kB / 0.7576 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6465, allocations: 0 / 0.7576 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.01587/0.6624, allocations: 8.39 MB / 0.7658 GB, free: 4.113 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: