Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.734/2.734, allocations: 284.8 MB / 297.3 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 180.8 kB / 365.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.1 MB / 0.6241 GB, free: 8.195 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001463/0.001462, allocations: 96.84 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.469e-05/4.501e-05, allocations: 8 kB / 0.8575 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.828/0.8281, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/1.076, allocations: 139.3 MB / 1.106 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.076, allocations: 71.95 kB / 1.106 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0624/1.139, allocations: 13.76 MB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.635e-06/1.139, allocations: 0 / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.574e-05/1.139, allocations: 24 kB / 1.12 GB, free: 15.44 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002798/1.142, allocations: 1.03 MB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.142, allocations: 15.95 kB / 1.121 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004449/1.142, allocations: 110.7 kB / 1.121 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/1.144, allocations: 0.59 MB / 1.121 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.185e-05/1.144, allocations: 67.41 kB / 1.121 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/1.144, allocations: 95.91 kB / 1.121 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/1.146, allocations: 0.7887 MB / 1.122 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/1.146, allocations: 3.984 kB / 1.122 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.147, allocations: 36 kB / 1.122 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/1.147, allocations: 27.98 kB / 1.122 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/1.148, allocations: 0.5194 MB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006295/1.155, allocations: 2.515 MB / 1.125 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/1.156, allocations: 1.214 MB / 1.126 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/1.157, allocations: 310.6 kB / 1.127 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.662e-05/1.157, allocations: 12.56 kB / 1.127 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007967/1.158, allocations: 295.2 kB / 1.127 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.536e-06/1.158, allocations: 0 / 1.127 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001503/1.16, allocations: 0.4982 MB / 1.127 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.16, allocations: 166.7 kB / 1.128 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.161, allocations: 0.5171 MB / 1.128 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/1.161, allocations: 45.69 kB / 1.128 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/1.161, allocations: 412.3 kB / 1.129 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/1.162, allocations: 236.5 kB / 1.129 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/1.162, allocations: 12 kB / 1.129 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.162, allocations: 333.9 kB / 1.129 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/1.162, allocations: 169.6 kB / 1.129 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/1.163, allocations: 273.2 kB / 1.13 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/1.164, allocations: 206 kB / 1.13 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.164, allocations: 3.938 kB / 1.13 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001468/1.165, allocations: 0.5502 MB / 1.13 GB, free: 4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.165, allocations: 185.8 kB / 1.13 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.165, allocations: 0 / 1.13 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/1.165, allocations: 4 kB / 1.13 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.167, allocations: 147.8 kB / 1.131 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/1.167, allocations: 11.88 kB / 1.131 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/1.167, allocations: 105.1 kB / 1.131 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/1.167, allocations: 20 kB / 1.131 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.167, allocations: 8 kB / 1.131 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/1.169, allocations: 454.2 kB / 1.131 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.169, allocations: 0 / 1.131 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/1.169, allocations: 4 kB / 1.131 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/1.169, allocations: 119.8 kB / 1.131 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.169, allocations: 4 kB / 1.131 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/1.17, allocations: 83.38 kB / 1.131 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/1.17, allocations: 16 kB / 1.131 GB, free: 2.852 MB / 0.7292 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 () * 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.0002213/1.17, allocations: 137.4 kB / 1.132 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.17, allocations: 83.02 kB / 1.132 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/1.171, allocations: 87.19 kB / 1.132 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.171, allocations: 8 kB / 1.132 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.171, allocations: 0 / 1.132 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/1.171, allocations: 10.86 kB / 1.132 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/1.174, allocations: 1.492 MB / 1.133 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.174, allocations: 0 / 1.133 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.176, allocations: 139.8 kB / 1.133 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/1.176, allocations: 4 kB / 1.133 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/1.176, allocations: 12 kB / 1.133 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.176, allocations: 1.562 kB / 1.133 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.176, allocations: 0 / 1.133 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/1.178, allocations: 0.8779 MB / 1.134 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/1.178, allocations: 160 kB / 1.134 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.178, allocations: 16 kB / 1.134 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/1.179, allocations: 51.95 kB / 1.134 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.179, allocations: 44.53 kB / 1.134 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/1.179, allocations: 24 kB / 1.134 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007895/1.18, allocations: 423.1 kB / 1.135 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.41e-07/1.18, allocations: 0 / 1.135 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001012/1.181, allocations: 291.2 kB / 1.135 GB, free: 14.92 MB / 0.7448 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 () * 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.0002652/1.181, allocations: 128.4 kB / 1.135 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002744/1.184, allocations: 0.7399 MB / 1.136 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.184, allocations: 0 / 1.136 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008976/1.185, allocations: 247.2 kB / 1.136 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.186, allocations: 129.8 kB / 1.136 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/1.189, allocations: 1.136 MB / 1.137 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/1.19, allocations: 0.9992 MB / 1.138 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008598/1.191, allocations: 130.2 kB / 1.139 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/1.191, allocations: 54.8 kB / 1.139 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/1.191, allocations: 0 / 1.139 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.03294/1.224, allocations: 7.69 MB / 1.146 GB, free: 3.758 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)