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.0008907/0.0008907, allocations: 86.64 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.001182/0.001182, 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.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.575/1.575, allocations: 252 MB / 0.5102 GB, free: 4.801 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.0005293/0.0005295, allocations: 19.94 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5892/0.5898, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004431/0.5942, allocations: 3.676 MB / 0.7317 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003234/0.5975, allocations: 1.555 MB / 0.7332 GB, free: 6.156 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.5985, allocations: 31.81 kB / 0.7333 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.599, allocations: 114.8 kB / 0.7334 GB, free: 6.012 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009912/0.6, allocations: 178.7 kB / 0.7335 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.6017, allocations: 0.5194 MB / 0.734 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002247/0.604, allocations: 1.05 MB / 0.7351 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.6049, allocations: 351.3 kB / 0.7354 GB, free: 3.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008031/0.6057, allocations: 338 kB / 0.7357 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.6064, allocations: 333.8 kB / 0.7361 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.6065, allocations: 28 kB / 0.7361 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.6066, allocations: 28 kB / 0.7361 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.6069, allocations: 139.2 kB / 0.7362 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.6071, allocations: 173.1 kB / 0.7364 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.6079, allocations: 0.8123 MB / 0.7372 GB, free: 2.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6079, allocations: 0 / 0.7372 GB, free: 2.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6079, allocations: 0 / 0.7372 GB, free: 2.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.6079, allocations: 0 / 0.7372 GB, free: 2.07 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.002275/0.6102, allocations: 1.247 MB / 0.7384 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.6102, allocations: 12.03 kB / 0.7384 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.6104, allocations: 122.5 kB / 0.7385 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.6117, allocations: 0.7074 MB / 0.7392 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.6118, allocations: 79.7 kB / 0.7393 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.612, allocations: 72 kB / 0.7394 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.6132, allocations: 0.7367 MB / 0.7401 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6132, allocations: 3.938 kB / 0.7401 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.6133, allocations: 31.92 kB / 0.7401 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6133, allocations: 20 kB / 0.7401 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.6144, allocations: 0.5243 MB / 0.7407 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.6178, allocations: 2.29 MB / 0.7429 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.6192, allocations: 0.6357 MB / 0.7435 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.6198, allocations: 282.4 kB / 0.7438 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.827e-05/0.6198, allocations: 4.562 kB / 0.7438 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000675/0.6205, allocations: 331 kB / 0.7441 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 3.877e-06/0.6205, allocations: 0 / 0.7441 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.001516/0.622, allocations: 0.7754 MB / 0.7449 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.6221, allocations: 85.67 kB / 0.7449 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008417/0.623, allocations: 0.756 MB / 0.7457 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.623, allocations: 33.7 kB / 0.7457 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.6234, allocations: 444.5 kB / 0.7461 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.6235, allocations: 208.9 kB / 0.7463 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.6236, allocations: 12 kB / 0.7464 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6237, allocations: 330 kB / 0.7467 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.6241, allocations: 205.2 kB / 0.7469 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.6246, allocations: 308.4 kB / 0.7472 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.625, allocations: 234.2 kB / 0.7474 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.625, allocations: 0 / 0.7474 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001425/0.6265, allocations: 0.6656 MB / 0.748 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/0.6266, allocations: 157 kB / 0.7482 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6266, allocations: 4 kB / 0.7482 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6266, allocations: 4 kB / 0.7482 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.6273, allocations: 151.8 kB / 0.7483 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.6273, allocations: 7.984 kB / 0.7483 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.6277, allocations: 75.36 kB / 0.7484 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.6277, allocations: 27.98 kB / 0.7484 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.6277, allocations: 4 kB / 0.7484 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001011/0.6288, allocations: 0.5168 MB / 0.7489 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6288, allocations: 4.094 kB / 0.749 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.6288, allocations: 7.984 kB / 0.749 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.6294, allocations: 139.8 kB / 0.7491 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.6294, allocations: 8 kB / 0.7491 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.6297, allocations: 71.59 kB / 0.7492 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.6298, allocations: 23.94 kB / 0.7492 GB, free: 5.41 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.0004583/0.6302, allocations: 297 kB / 0.7495 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.6304, allocations: 98.77 kB / 0.7496 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.6306, allocations: 101.3 kB / 0.7497 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6306, allocations: 11.88 kB / 0.7497 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.6306, allocations: 0 / 0.7497 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.6306, allocations: 7.984 kB / 0.7497 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.6331, allocations: 1.447 MB / 0.7511 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6331, allocations: 4 kB / 0.7511 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.6337, allocations: 107.8 kB / 0.7512 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/0.6337, allocations: 4 kB / 0.7512 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.6338, allocations: 12 kB / 0.7512 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6338, allocations: 0 / 0.7512 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6338, allocations: 4 kB / 0.7512 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.6354, allocations: 0.9824 MB / 0.7522 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.6357, allocations: 223.7 kB / 0.7524 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6359, allocations: 15.98 kB / 0.7524 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.6363, allocations: 39.97 kB / 0.7524 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.6364, allocations: 40.45 kB / 0.7525 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.6364, allocations: 19.98 kB / 0.7525 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006686/0.6371, allocations: 0.507 MB / 0.753 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6371, allocations: 0 / 0.753 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008299/0.6379, allocations: 275 kB / 0.7533 GB, free: 1.121 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.0001928/0.6381, allocations: 119.3 kB / 0.7534 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.64, allocations: 0.7997 MB / 0.7542 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.64, allocations: 0.625 kB / 0.7542 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.6405, allocations: 271.1 kB / 0.7544 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.6417, allocations: 250.9 kB / 0.7547 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.6445, allocations: 1.843 MB / 0.7565 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.6451, allocations: 0.994 MB / 0.7574 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005084/0.6456, allocations: 122.7 kB / 0.7575 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.6458, allocations: 55.44 kB / 0.7576 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.6458, allocations: 0 / 0.7576 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of Templates: time 0.01706/0.6628, allocations: 8.4 MB / 0.7658 GB, free: 4.312 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: