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.715/2.715, allocations: 285 MB / 292.5 MB, free: 10.5 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.002067/0.002067, allocations: 180.9 kB / 360.7 MB, free: 7.234 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 2.075/2.075, allocations: 205.3 MB / 0.6192 GB, free: 12.13 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.001043/0.001043, allocations: 92.89 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.219e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8525, allocations: 115.2 MB / 0.9635 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/1.112, allocations: 138.6 MB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004049/1.113, allocations: 74.64 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06336/1.176, allocations: 13.64 MB / 1.112 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.695e-06/1.176, allocations: 0 / 1.112 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.391e-05/1.176, allocations: 20 kB / 1.112 GB, free: 4.238 MB / 0.7136 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.00275/1.179, allocations: 1.032 MB / 1.113 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.179, allocations: 15.97 kB / 1.113 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/1.179, allocations: 114.7 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.181, allocations: 0.586 MB / 1.114 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/1.181, allocations: 32 kB / 1.114 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/1.181, allocations: 59.91 kB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/1.183, allocations: 484.9 kB / 1.114 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.185, allocations: 0.674 MB / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/1.185, allocations: 0 / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/1.185, allocations: 0 / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/1.185, allocations: 24 kB / 1.115 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/1.191, allocations: 2.337 MB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/1.192, allocations: 1.176 MB / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/1.193, allocations: 290.6 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/1.193, allocations: 8.562 kB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000706/1.194, allocations: 278 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.536e-06/1.194, allocations: 0 / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001335/1.195, allocations: 474.2 kB / 1.12 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/1.195, allocations: 158.8 kB / 1.12 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/1.196, allocations: 418.2 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/1.196, allocations: 37.69 kB / 1.12 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/1.197, allocations: 408.1 kB / 1.121 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/1.197, allocations: 228.5 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/1.197, allocations: 0 / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.197, allocations: 374.8 kB / 1.121 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/1.198, allocations: 165.5 kB / 1.121 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/1.198, allocations: 265.7 kB / 1.122 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/1.199, allocations: 184.5 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.199, allocations: 7.938 kB / 1.122 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001389/1.2, allocations: 0.511 MB / 1.122 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.201, allocations: 190.1 kB / 1.122 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.201, allocations: 1.625 kB / 1.122 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/1.201, allocations: 7.984 kB / 1.122 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.202, allocations: 147.8 kB / 1.123 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.202, allocations: 8 kB / 1.123 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/1.203, allocations: 75.55 kB / 1.123 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/1.203, allocations: 27.95 kB / 1.123 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.203, allocations: 0 / 1.123 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/1.204, allocations: 398.6 kB / 1.123 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.204, allocations: 0 / 1.123 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.204, allocations: 7.984 kB / 1.123 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/1.205, allocations: 115.8 kB / 1.123 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.205, allocations: 4 kB / 1.123 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/1.205, allocations: 63.53 kB / 1.123 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/1.205, allocations: 16 kB / 1.123 GB, free: 8.492 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.000241/1.206, allocations: 124.5 kB / 1.123 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.206, allocations: 71.19 kB / 1.123 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/1.206, allocations: 66.56 kB / 1.124 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.206, allocations: 8.656 kB / 1.124 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.206, allocations: 3.984 kB / 1.124 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.206, allocations: 4 kB / 1.124 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/1.209, allocations: 1.337 MB / 1.125 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.209, allocations: 0 / 1.125 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.211, allocations: 139.8 kB / 1.125 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/1.211, allocations: 0 / 1.125 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/1.211, allocations: 11.75 kB / 1.125 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/1.211, allocations: 4 kB / 1.125 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.211, allocations: 0 / 1.125 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/1.213, allocations: 0.8116 MB / 1.126 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/1.213, allocations: 148.2 kB / 1.126 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.213, allocations: 3.938 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/1.213, allocations: 47.95 kB / 1.126 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/1.214, allocations: 40.52 kB / 1.126 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/1.214, allocations: 19.98 kB / 1.126 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006066/1.214, allocations: 322.9 kB / 1.126 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.214, allocations: 0 / 1.126 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009753/1.215, allocations: 274.8 kB / 1.127 GB, free: 4.988 MB / 0.7292 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.0002476/1.216, allocations: 112 kB / 1.127 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.217, allocations: 0.6843 MB / 1.127 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.217, allocations: 4 kB / 1.127 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/1.218, allocations: 234 kB / 1.128 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/1.219, allocations: 112 kB / 1.128 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/1.222, allocations: 1.095 MB / 1.129 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/1.223, allocations: 1.002 MB / 1.13 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008946/1.224, allocations: 116 kB / 1.13 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/1.224, allocations: 47.42 kB / 1.13 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of SimCode: time 3.065e-06/1.224, allocations: 0 / 1.13 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of Templates: time 0.02752/1.252, allocations: 6.744 MB / 1.136 GB, free: 10.94 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)