Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.3 MB / 303.2 MB, free: 8.23 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.001539/0.001539, allocations: 189.8 kB / 371.8 MB, free: 10.27 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.881/1.881, allocations: 205.4 MB / 0.6306 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 97.14 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004235, allocations: 21.89 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8702/1.126, allocations: 139.5 MB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/1.126, allocations: 77.67 kB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03136/1.157, allocations: 13.78 MB / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/1.157, allocations: 0 / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.622e-05/1.157, allocations: 26.91 kB / 1.129 GB, free: 29.85 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001838/1.159, allocations: 1.178 MB / 1.13 GB, free: 29.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/1.159, allocations: 7.812 kB / 1.13 GB, free: 29.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/1.159, allocations: 112.8 kB / 1.131 GB, free: 28.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/1.16, allocations: 0.5969 MB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/1.16, allocations: 62.84 kB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.16, allocations: 100.3 kB / 1.131 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/1.162, allocations: 0.858 MB / 1.132 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.162, allocations: 0 / 1.132 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/1.162, allocations: 38.55 kB / 1.132 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/1.162, allocations: 19.38 kB / 1.132 GB, free: 28.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/1.163, allocations: 0.6399 MB / 1.133 GB, free: 28.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/1.166, allocations: 2.511 MB / 1.135 GB, free: 26.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/1.167, allocations: 1.331 MB / 1.137 GB, free: 26.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/1.167, allocations: 8.312 kB / 1.137 GB, free: 26.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005642/1.168, allocations: 354.2 kB / 1.137 GB, free: 25.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.795e-06/1.168, allocations: 3.938 kB / 1.137 GB, free: 25.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001328/1.169, allocations: 0.8251 MB / 1.138 GB, free: 25.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/1.169, allocations: 166.5 kB / 1.138 GB, free: 25.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/1.17, allocations: 0.5269 MB / 1.138 GB, free: 25.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/1.17, allocations: 40.42 kB / 1.138 GB, free: 25.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.17, allocations: 409.5 kB / 1.139 GB, free: 25.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.17, allocations: 233.5 kB / 1.139 GB, free: 24.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/1.17, allocations: 14.09 kB / 1.139 GB, free: 24.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.17, allocations: 331.6 kB / 1.139 GB, free: 24.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/1.171, allocations: 226.7 kB / 1.14 GB, free: 24.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/1.171, allocations: 337.3 kB / 1.14 GB, free: 24.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/1.171, allocations: 256.3 kB / 1.14 GB, free: 24.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.171, allocations: 4 kB / 1.14 GB, free: 24.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009778/1.172, allocations: 0.6674 MB / 1.141 GB, free: 24.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.613e-05/1.173, allocations: 184 kB / 1.141 GB, free: 24.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.173, allocations: 3.844 kB / 1.141 GB, free: 24.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.173, allocations: 0 / 1.141 GB, free: 24.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/1.173, allocations: 147.3 kB / 1.141 GB, free: 24.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/1.173, allocations: 0 / 1.141 GB, free: 24.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/1.174, allocations: 106.9 kB / 1.141 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/1.174, allocations: 30.12 kB / 1.141 GB, free: 24.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/1.174, allocations: 7.719 kB / 1.141 GB, free: 24.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005515/1.174, allocations: 460.1 kB / 1.142 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/1.174, allocations: 3.938 kB / 1.142 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/1.174, allocations: 3.906 kB / 1.142 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/1.175, allocations: 123.4 kB / 1.142 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/1.175, allocations: 0 / 1.142 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/1.175, allocations: 82.91 kB / 1.142 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/1.175, allocations: 21.69 kB / 1.142 GB, free: 23.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0003704/1.175, allocations: 287.3 kB / 1.142 GB, free: 23.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/1.175, allocations: 81.02 kB / 1.142 GB, free: 23.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/1.175, allocations: 81.08 kB / 1.142 GB, free: 23.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.175, allocations: 11.67 kB / 1.142 GB, free: 23.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.175, allocations: 0 / 1.142 GB, free: 23.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.175, allocations: 0 / 1.142 GB, free: 23.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/1.177, allocations: 1.619 MB / 1.144 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.177, allocations: 3.938 kB / 1.144 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/1.178, allocations: 130.8 kB / 1.144 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.178, allocations: 3.812 kB / 1.144 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/1.178, allocations: 11.69 kB / 1.144 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.178, allocations: 4 kB / 1.144 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.178, allocations: 7.906 kB / 1.144 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/1.18, allocations: 1.031 MB / 1.145 GB, free: 22.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/1.18, allocations: 158.1 kB / 1.145 GB, free: 22.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/1.18, allocations: 14.03 kB / 1.145 GB, free: 22.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/1.18, allocations: 58.05 kB / 1.145 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/1.18, allocations: 35.36 kB / 1.145 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/1.18, allocations: 22.8 kB / 1.145 GB, free: 22.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004106/1.181, allocations: 418.6 kB / 1.146 GB, free: 22.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.181, allocations: 4 kB / 1.146 GB, free: 22.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006212/1.181, allocations: 295.8 kB / 1.146 GB, free: 22.26 MB / 0.698 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: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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 Backend phase and start with SimCode phase: time 0.0002197/1.181, allocations: 131 kB / 1.146 GB, free: 22.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.183, allocations: 0.8173 MB / 1.147 GB, free: 22.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.183, allocations: 3.844 kB / 1.147 GB, free: 22.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004417/1.183, allocations: 312.2 kB / 1.147 GB, free: 21.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/1.184, allocations: 127.3 kB / 1.147 GB, free: 21.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/1.186, allocations: 1.818 MB / 1.149 GB, free: 20.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/1.187, allocations: 1.005 MB / 1.15 GB, free: 20 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00042/1.187, allocations: 87.59 kB / 1.15 GB, free: 19.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/1.187, allocations: 53.25 kB / 1.15 GB, free: 19.96 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.187, allocations: 0 / 1.15 GB, free: 19.96 MB / 0.698 GB Notification: Performance of Templates: time 0.01223/1.199, allocations: 6.621 MB / 1.157 GB, free: 16.82 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)