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.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.3 MB / 303.2 MB, free: 8.086 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.001119/0.001119, allocations: 177 kB / 371.8 MB, free: 10.32 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.803/1.803, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.000981/0.000981, allocations: 96.38 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004236, allocations: 14.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2724, allocations: 115.3 MB / 0.9795 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8262/1.099, allocations: 139.8 MB / 1.116 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.099, allocations: 78.58 kB / 1.116 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02427/1.123, allocations: 9.319 MB / 1.125 GB, free: 31.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/1.123, allocations: 0 / 1.125 GB, free: 31.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.75e-05/1.123, allocations: 11.56 kB / 1.125 GB, free: 31.53 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001929/1.125, allocations: 0.8285 MB / 1.126 GB, free: 30.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.125, allocations: 7.812 kB / 1.126 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/1.126, allocations: 70.09 kB / 1.126 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/1.127, allocations: 453.8 kB / 1.126 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/1.127, allocations: 41.75 kB / 1.127 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.127, allocations: 53.91 kB / 1.127 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/1.128, allocations: 476.5 kB / 1.127 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/1.128, allocations: 0 / 1.127 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/1.128, allocations: 19.09 kB / 1.127 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.128, allocations: 11.69 kB / 1.127 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/1.128, allocations: 344 kB / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/1.131, allocations: 1.486 MB / 1.129 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/1.131, allocations: 0.8787 MB / 1.13 GB, free: 28.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/1.131, allocations: 7.891 kB / 1.13 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/1.132, allocations: 239.1 kB / 1.13 GB, free: 28.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/1.132, allocations: 0 / 1.13 GB, free: 28.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.0009368/1.133, allocations: 0.5147 MB / 1.13 GB, free: 28.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/1.133, allocations: 106.8 kB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/1.133, allocations: 350.1 kB / 1.131 GB, free: 28.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/1.133, allocations: 36.55 kB / 1.131 GB, free: 28.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/1.134, allocations: 253.7 kB / 1.131 GB, free: 28.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/1.134, allocations: 145 kB / 1.131 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/1.134, allocations: 15.25 kB / 1.131 GB, free: 28.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.134, allocations: 363.8 kB / 1.132 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/1.134, allocations: 161.5 kB / 1.132 GB, free: 27.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/1.134, allocations: 253.7 kB / 1.132 GB, free: 27.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/1.135, allocations: 211.1 kB / 1.132 GB, free: 27.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.135, allocations: 0 / 1.132 GB, free: 27.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007956/1.136, allocations: 0.5227 MB / 1.133 GB, free: 27.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002561/1.136, allocations: 0.5612 MB / 1.133 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.136, allocations: 3.969 kB / 1.133 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.136, allocations: 4 kB / 1.133 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/1.136, allocations: 88.02 kB / 1.133 GB, free: 26.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.136, allocations: 0 / 1.133 GB, free: 26.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/1.137, allocations: 95.25 kB / 1.133 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/1.137, allocations: 18.78 kB / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.137, allocations: 5.125 kB / 1.134 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000574/1.137, allocations: 417.9 kB / 1.134 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/1.137, allocations: 3.938 kB / 1.134 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/1.137, allocations: 8.031 kB / 1.134 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/1.138, allocations: 69 kB / 1.134 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.138, allocations: 3.844 kB / 1.134 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/1.138, allocations: 81.05 kB / 1.134 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/1.138, allocations: 15.12 kB / 1.134 GB, free: 26.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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.0003097/1.138, allocations: 251.1 kB / 1.134 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/1.138, allocations: 46.84 kB / 1.134 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/1.138, allocations: 59.52 kB / 1.134 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.138, allocations: 3.812 kB / 1.134 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.139, allocations: 0 / 1.134 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/1.139, allocations: 3.984 kB / 1.134 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/1.14, allocations: 1.034 MB / 1.135 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.14, allocations: 0 / 1.135 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/1.14, allocations: 76.92 kB / 1.136 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.14, allocations: 3.875 kB / 1.136 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.14, allocations: 3.938 kB / 1.136 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.14, allocations: 7.828 kB / 1.136 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.14, allocations: 0 / 1.136 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009253/1.141, allocations: 0.6775 MB / 1.136 GB, free: 25.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/1.141, allocations: 131.2 kB / 1.136 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/1.141, allocations: 11.34 kB / 1.136 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/1.142, allocations: 30.81 kB / 1.136 GB, free: 25.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/1.142, allocations: 26.92 kB / 1.136 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/1.142, allocations: 15.31 kB / 1.136 GB, free: 25.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002893/1.142, allocations: 276.7 kB / 1.137 GB, free: 25.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.142, allocations: 3.812 kB / 1.137 GB, free: 25.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005594/1.143, allocations: 190.6 kB / 1.137 GB, free: 25.34 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: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002435/1.143, allocations: 139.8 kB / 1.137 GB, free: 25.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.144, allocations: 0.7148 MB / 1.138 GB, free: 25.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.144, allocations: 0.625 kB / 1.138 GB, free: 25.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/1.144, allocations: 192.5 kB / 1.138 GB, free: 24.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/1.145, allocations: 72.45 kB / 1.138 GB, free: 24.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/1.146, allocations: 1.049 MB / 1.139 GB, free: 24.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/1.147, allocations: 0.8553 MB / 1.14 GB, free: 23.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002705/1.147, allocations: 66.36 kB / 1.14 GB, free: 23.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/1.147, allocations: 34.47 kB / 1.14 GB, free: 23.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.147, allocations: 0 / 1.14 GB, free: 23.5 MB / 0.698 GB Notification: Performance of Templates: time 0.008864/1.156, allocations: 5.236 MB / 1.145 GB, free: 20.97 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)