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.863/1.863, allocations: 288.3 MB / 303.2 MB, free: 8.25 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.001127/0.001126, allocations: 169.9 kB / 371.8 MB, free: 10.29 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.788/1.788, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.0008518/0.0008516, allocations: 96.06 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004197, allocations: 12.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8468/1.098, allocations: 139.9 MB / 1.116 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.099, allocations: 79.34 kB / 1.116 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02649/1.125, allocations: 10.64 MB / 1.126 GB, free: 31.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.306e-06/1.125, allocations: 0 / 1.126 GB, free: 31.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.968e-05/1.125, allocations: 15.69 kB / 1.127 GB, free: 31.05 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001419/1.127, allocations: 0.8866 MB / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.127, allocations: 11.84 kB / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/1.127, allocations: 77.77 kB / 1.127 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/1.128, allocations: 461.2 kB / 1.128 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/1.128, allocations: 43.12 kB / 1.128 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.331e-05/1.128, allocations: 61.3 kB / 1.128 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/1.129, allocations: 0.4893 MB / 1.128 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.129, allocations: 3.938 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/1.129, allocations: 16.72 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.129, allocations: 11.53 kB / 1.129 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005799/1.129, allocations: 356.5 kB / 1.129 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/1.131, allocations: 1.595 MB / 1.13 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/1.132, allocations: 0.8924 MB / 1.131 GB, free: 28.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/1.133, allocations: 3.844 kB / 1.131 GB, free: 28.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/1.133, allocations: 278.5 kB / 1.132 GB, free: 28.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.216e-06/1.133, allocations: 0 / 1.132 GB, free: 28.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.001194/1.134, allocations: 0.5548 MB / 1.132 GB, free: 28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.134, allocations: 111 kB / 1.132 GB, free: 27.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/1.135, allocations: 354.4 kB / 1.133 GB, free: 27.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/1.135, allocations: 40.14 kB / 1.133 GB, free: 27.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/1.135, allocations: 264.4 kB / 1.133 GB, free: 27.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/1.135, allocations: 152.8 kB / 1.133 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/1.135, allocations: 10.75 kB / 1.133 GB, free: 27.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.136, allocations: 365.5 kB / 1.133 GB, free: 27.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/1.136, allocations: 193.2 kB / 1.134 GB, free: 27.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/1.137, allocations: 287.8 kB / 1.134 GB, free: 26.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/1.137, allocations: 267.7 kB / 1.134 GB, free: 26.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/1.137, allocations: 7.875 kB / 1.134 GB, free: 26.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001039/1.138, allocations: 0.6289 MB / 1.135 GB, free: 26.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004374/1.138, allocations: 0.6807 MB / 1.135 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.138, allocations: 7.875 kB / 1.135 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.139, allocations: 3.938 kB / 1.135 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.139, allocations: 89.05 kB / 1.135 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.139, allocations: 3.812 kB / 1.135 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/1.139, allocations: 135.4 kB / 1.136 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/1.14, allocations: 26.7 kB / 1.136 GB, free: 25.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.14, allocations: 3.969 kB / 1.136 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007962/1.14, allocations: 0.5234 MB / 1.136 GB, free: 25.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.14, allocations: 3.844 kB / 1.136 GB, free: 25.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/1.14, allocations: 3.969 kB / 1.136 GB, free: 25.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/1.141, allocations: 76.88 kB / 1.136 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.141, allocations: 7.859 kB / 1.136 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/1.141, allocations: 116.4 kB / 1.136 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/1.141, allocations: 18.69 kB / 1.136 GB, free: 25.69 MB / 0.698 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 () * Number of clocked 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.0003778/1.142, allocations: 261 kB / 1.137 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/1.142, allocations: 49.44 kB / 1.137 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/1.142, allocations: 53.47 kB / 1.137 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.142, allocations: 7.859 kB / 1.137 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.142, allocations: 3.953 kB / 1.137 GB, free: 25.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.142, allocations: 144 / 1.137 GB, free: 25.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/1.143, allocations: 1.093 MB / 1.138 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.143, allocations: 0 / 1.138 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/1.144, allocations: 77.16 kB / 1.138 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.144, allocations: 3.953 kB / 1.138 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/1.144, allocations: 11.33 kB / 1.138 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.144, allocations: 3.938 kB / 1.138 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.144, allocations: 3.938 kB / 1.138 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/1.145, allocations: 0.7206 MB / 1.139 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.145, allocations: 131.2 kB / 1.139 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/1.145, allocations: 14.67 kB / 1.139 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/1.145, allocations: 30.36 kB / 1.139 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/1.145, allocations: 27.39 kB / 1.139 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/1.145, allocations: 14.81 kB / 1.139 GB, free: 24.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002819/1.145, allocations: 279.2 kB / 1.139 GB, free: 24.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.145, allocations: 3.938 kB / 1.139 GB, free: 24.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006119/1.146, allocations: 218.6 kB / 1.139 GB, free: 24.35 MB / 0.698 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 () * Number of clocked 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.0002563/1.146, allocations: 130.2 kB / 1.139 GB, free: 24.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001246/1.148, allocations: 0.9494 MB / 1.14 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.148, allocations: 11.25 kB / 1.14 GB, free: 23.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002926/1.148, allocations: 196.9 kB / 1.14 GB, free: 23.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/1.148, allocations: 84.53 kB / 1.141 GB, free: 23.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/1.15, allocations: 1.112 MB / 1.142 GB, free: 23.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/1.15, allocations: 0.867 MB / 1.142 GB, free: 22.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002411/1.15, allocations: 55.09 kB / 1.143 GB, free: 22.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/1.151, allocations: 46.08 kB / 1.143 GB, free: 22.33 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/1.151, allocations: 3.938 kB / 1.143 GB, free: 22.32 MB / 0.698 GB Notification: Performance of Templates: time 0.01024/1.161, allocations: 6.441 MB / 1.149 GB, free: 19.2 MB / 0.698 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)