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.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001343/0.001343, allocations: 172.9 kB / 361.4 MB, free: 6.812 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.721/1.721, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009632/0.0009632, allocations: 92.59 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.924e-05, allocations: 8 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7718, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.98, allocations: 139.1 MB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.9803, allocations: 78.05 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02815/1.008, allocations: 10.54 MB / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/1.009, allocations: 4 kB / 1.111 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.686e-05/1.009, allocations: 12 kB / 1.111 GB, free: 6.199 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001275/1.01, allocations: 0.8029 MB / 1.111 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.01, allocations: 12.03 kB / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/1.01, allocations: 76.17 kB / 1.111 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000767/1.011, allocations: 464.5 kB / 1.112 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/1.011, allocations: 19.98 kB / 1.112 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/1.011, allocations: 36 kB / 1.112 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005028/1.011, allocations: 274.6 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006363/1.012, allocations: 397.2 kB / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.012, allocations: 3.938 kB / 1.113 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/1.012, allocations: 4 kB / 1.113 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/1.012, allocations: 15.94 kB / 1.113 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/1.014, allocations: 1.484 MB / 1.114 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/1.015, allocations: 0.8081 MB / 1.115 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/1.015, allocations: 169.3 kB / 1.115 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/1.015, allocations: 4 kB / 1.115 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/1.016, allocations: 220 kB / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/1.016, allocations: 0 / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.0005858/1.016, allocations: 343.6 kB / 1.116 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.016, allocations: 111.2 kB / 1.116 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/1.016, allocations: 294.3 kB / 1.116 GB, free: 384 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/1.017, allocations: 29.7 kB / 1.116 GB, free: 348 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/1.017, allocations: 272.8 kB / 1.116 GB, free: 72 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.017, allocations: 142 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/1.017, allocations: 4 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.017, allocations: 358.8 kB / 1.117 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/1.017, allocations: 153 kB / 1.117 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/1.018, allocations: 242.4 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/1.018, allocations: 190.4 kB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.018, allocations: 1.781 kB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008832/1.019, allocations: 499.3 kB / 1.118 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002917/1.019, allocations: 0.6836 MB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.019, allocations: 0 / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.019, allocations: 8.031 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/1.02, allocations: 91.88 kB / 1.119 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.02, allocations: 4 kB / 1.119 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/1.02, allocations: 119.6 kB / 1.119 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/1.02, allocations: 27.98 kB / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/1.02, allocations: 0 / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008235/1.021, allocations: 432 kB / 1.119 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/1.021, allocations: 3.938 kB / 1.119 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/1.021, allocations: 4.156 kB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/1.021, allocations: 83.84 kB / 1.119 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.021, allocations: 5.328 kB / 1.119 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/1.022, allocations: 103.6 kB / 1.119 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/1.022, allocations: 23.98 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001357/1.022, allocations: 121.3 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/1.022, allocations: 47.45 kB / 1.119 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/1.022, allocations: 46.09 kB / 1.12 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.022, allocations: 12 kB / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.022, allocations: 0 / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.022, allocations: 3.953 kB / 1.12 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/1.023, allocations: 0.9241 MB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.023, allocations: 0 / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/1.024, allocations: 81.39 kB / 1.121 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.024, allocations: 0 / 1.121 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/1.024, allocations: 8 kB / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.024, allocations: 3.953 kB / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.024, allocations: 4 kB / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/1.025, allocations: 0.592 MB / 1.121 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/1.025, allocations: 120.4 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/1.025, allocations: 12.05 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/1.025, allocations: 19.98 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/1.025, allocations: 37.88 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/1.025, allocations: 12 kB / 1.121 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002719/1.025, allocations: 224.6 kB / 1.122 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/1.025, allocations: 0 / 1.122 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005997/1.026, allocations: 199.2 kB / 1.122 GB, free: 10.31 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002267/1.026, allocations: 131.8 kB / 1.122 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001175/1.027, allocations: 0.8522 MB / 1.123 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.027, allocations: 3.938 kB / 1.123 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/1.028, allocations: 165.6 kB / 1.123 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/1.028, allocations: 77.34 kB / 1.123 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.029, allocations: 0.6762 MB / 1.124 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/1.03, allocations: 0.8713 MB / 1.124 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003096/1.03, allocations: 87.78 kB / 1.124 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/1.03, allocations: 31.44 kB / 1.125 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.03, allocations: 0 / 1.125 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of Templates: time 0.01082/1.041, allocations: 6.337 MB / 1.131 GB, free: 1.145 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)