Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 285.6 MB / 293.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 172.9 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008263/0.0008263, allocations: 93.11 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.233e-05/1.236e-05, allocations: 0 / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6573, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.857, allocations: 145.8 MB / 1.107 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.8573, allocations: 76.53 kB / 1.107 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05233/0.9096, allocations: 19.72 MB / 1.126 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9097, allocations: 0 / 1.126 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.784e-05/0.9098, allocations: 31.98 kB / 1.126 GB, free: 6.301 MB / 0.7292 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.001859/0.9116, allocations: 1.071 MB / 1.127 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.9117, allocations: 8.031 kB / 1.127 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.9119, allocations: 134.5 kB / 1.127 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.9132, allocations: 0.7269 MB / 1.128 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.9133, allocations: 63.69 kB / 1.128 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.9134, allocations: 43.91 kB / 1.128 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007927/0.9142, allocations: 448 kB / 1.129 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.9152, allocations: 0.6351 MB / 1.129 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.9152, allocations: 0 / 1.129 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/0.9153, allocations: 3.953 kB / 1.129 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.9153, allocations: 19.94 kB / 1.129 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.9185, allocations: 2.211 MB / 1.131 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.9195, allocations: 0.5593 MB / 1.132 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.9198, allocations: 210.6 kB / 1.132 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.9199, allocations: 8.5 kB / 1.132 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004487/0.9203, allocations: 286.8 kB / 1.132 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 2.304e-06/0.9203, allocations: 0 / 1.132 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.0008088/0.9211, allocations: 498.5 kB / 1.133 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.9212, allocations: 138.5 kB / 1.133 GB, free: 15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/0.9219, allocations: 0.5592 MB / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.9219, allocations: 25.7 kB / 1.134 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.9222, allocations: 448.1 kB / 1.134 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.9224, allocations: 197 kB / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.9224, allocations: 0 / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9226, allocations: 330 kB / 1.134 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.9228, allocations: 169.6 kB / 1.135 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.9232, allocations: 285.9 kB / 1.135 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.9235, allocations: 194.1 kB / 1.135 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9235, allocations: 4 kB / 1.135 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008351/0.9243, allocations: 0.5525 MB / 1.136 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004439/0.9248, allocations: 0.8838 MB / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9248, allocations: 0 / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.9248, allocations: 8 kB / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008829/0.9257, allocations: 160.7 kB / 1.137 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.9258, allocations: 11.98 kB / 1.137 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.9263, allocations: 66.69 kB / 1.137 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.9263, allocations: 24 kB / 1.137 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.9263, allocations: 4 kB / 1.137 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007616/0.9271, allocations: 445.2 kB / 1.137 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.9271, allocations: 3.953 kB / 1.137 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.9271, allocations: 8 kB / 1.137 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.9279, allocations: 151.8 kB / 1.137 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.9279, allocations: 8.188 kB / 1.137 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.9283, allocations: 60.86 kB / 1.137 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.9284, allocations: 20 kB / 1.137 GB, free: 10.31 MB / 0.7448 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,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete 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.0001584/0.9286, allocations: 122.3 kB / 1.138 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.9287, allocations: 90.88 kB / 1.138 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.9289, allocations: 96.83 kB / 1.138 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.9289, allocations: 8 kB / 1.138 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.929, allocations: 0 / 1.138 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.929, allocations: 3.984 kB / 1.138 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.9309, allocations: 1.314 MB / 1.139 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9309, allocations: 0 / 1.139 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.9315, allocations: 111.9 kB / 1.139 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.9315, allocations: 3.953 kB / 1.139 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.9315, allocations: 4 kB / 1.139 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.9315, allocations: 4 kB / 1.139 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9315, allocations: 10.92 kB / 1.139 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.9327, allocations: 0.8616 MB / 1.14 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.9329, allocations: 223.9 kB / 1.14 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.933, allocations: 7.953 kB / 1.14 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.9335, allocations: 43.95 kB / 1.14 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.9336, allocations: 34.72 kB / 1.14 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.9337, allocations: 23.97 kB / 1.14 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004966/0.9342, allocations: 435.2 kB / 1.141 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9342, allocations: 0 / 1.141 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007259/0.9349, allocations: 262.8 kB / 1.141 GB, free: 6.598 MB / 0.7448 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 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete 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.0002114/0.9351, allocations: 124.6 kB / 1.141 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.9362, allocations: 0.732 MB / 1.142 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9363, allocations: 4.125 kB / 1.142 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.9366, allocations: 242 kB / 1.142 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.9377, allocations: 200.1 kB / 1.142 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.9398, allocations: 1.151 MB / 1.143 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.9403, allocations: 1.018 MB / 1.144 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007264/0.941, allocations: 171.9 kB / 1.144 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.9412, allocations: 47.44 kB / 1.145 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.9412, allocations: 0 / 1.145 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of Templates: time 0.01648/0.9577, allocations: 9.695 MB / 1.154 GB, free: 9.375 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)