Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001728/0.001729, allocations: 181 kB / 377.1 MB, free: 1.523 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.692/1.692, allocations: 205.4 MB / 0.6366 GB, free: 9.562 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.0008953/0.000895, allocations: 87.62 kB / 0.7509 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 12 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2588, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6674/0.9263, allocations: 140.8 MB / 1.126 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.9266, allocations: 77.97 kB / 1.126 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0241/0.9507, allocations: 9.321 MB / 1.135 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.654e-06/0.9508, allocations: 0.5625 kB / 1.135 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.578e-05/0.9508, allocations: 12 kB / 1.135 GB, free: 28 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001325/0.9521, allocations: 0.8447 MB / 1.136 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9522, allocations: 12.02 kB / 1.136 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.9523, allocations: 86.61 kB / 1.136 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.9524, allocations: 66.48 kB / 1.136 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007385/0.9531, allocations: 447.4 kB / 1.137 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.9532, allocations: 43.84 kB / 1.137 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.9533, allocations: 53.45 kB / 1.137 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.9541, allocations: 470.4 kB / 1.137 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.9541, allocations: 5.719 kB / 1.137 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.9541, allocations: 24.75 kB / 1.137 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.9542, allocations: 12.66 kB / 1.137 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.9548, allocations: 338.8 kB / 1.137 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.9569, allocations: 1.493 MB / 1.139 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.9577, allocations: 0.8756 MB / 1.14 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.9578, allocations: 5.375 kB / 1.14 GB, free: 23.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004997/0.9583, allocations: 251.6 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/0.9583, allocations: 0 / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0009519/0.9593, allocations: 0.511 MB / 1.14 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.9593, allocations: 107.3 kB / 1.141 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.9597, allocations: 344.8 kB / 1.141 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.9598, allocations: 42.27 kB / 1.141 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.9599, allocations: 253.5 kB / 1.141 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/0.96, allocations: 142.3 kB / 1.141 GB, free: 22.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.96, allocations: 8 kB / 1.141 GB, free: 22.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.9601, allocations: 358.2 kB / 1.142 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.9605, allocations: 169.1 kB / 1.142 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.9608, allocations: 251.2 kB / 1.142 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.9611, allocations: 208.7 kB / 1.142 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9612, allocations: 4 kB / 1.142 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007898/0.962, allocations: 0.5157 MB / 1.143 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.9621, allocations: 0.564 MB / 1.143 GB, free: 20.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.9621, allocations: 4.547 kB / 1.143 GB, free: 20 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9621, allocations: 4 kB / 1.143 GB, free: 20 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.9625, allocations: 83.61 kB / 1.143 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9625, allocations: 4 kB / 1.143 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.9629, allocations: 93.98 kB / 1.144 GB, free: 19.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.963, allocations: 19.5 kB / 1.144 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.963, allocations: 5.031 kB / 1.144 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000577/0.9636, allocations: 411.9 kB / 1.144 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.9636, allocations: 4 kB / 1.144 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/0.9636, allocations: 4.703 kB / 1.144 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.9639, allocations: 70.73 kB / 1.144 GB, free: 19.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.9639, allocations: 9.25 kB / 1.144 GB, free: 19.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.9642, allocations: 78.66 kB / 1.144 GB, free: 19.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.9642, allocations: 21.69 kB / 1.144 GB, free: 19.28 MB / 0.7292 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.0002247/0.9645, allocations: 251.4 kB / 1.144 GB, free: 19.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.9645, allocations: 47.44 kB / 1.144 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.9646, allocations: 55.55 kB / 1.144 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.9647, allocations: 10.19 kB / 1.144 GB, free: 18.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.9647, allocations: 0 / 1.144 GB, free: 18.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.9647, allocations: 2.391 kB / 1.144 GB, free: 18.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.9661, allocations: 1.034 MB / 1.145 GB, free: 17.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9661, allocations: 0.5156 kB / 1.145 GB, free: 17.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.9664, allocations: 78.53 kB / 1.146 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.9664, allocations: 4 kB / 1.146 GB, free: 17.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.9665, allocations: 9.359 kB / 1.146 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.9665, allocations: 5.203 kB / 1.146 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9665, allocations: 0 / 1.146 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/0.9674, allocations: 0.6727 MB / 1.146 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.9675, allocations: 124 kB / 1.146 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.9675, allocations: 12.8 kB / 1.146 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.9677, allocations: 33.08 kB / 1.146 GB, free: 17.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.9678, allocations: 29.23 kB / 1.146 GB, free: 17.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.9679, allocations: 13.27 kB / 1.146 GB, free: 17.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002698/0.9681, allocations: 280.3 kB / 1.147 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.803e-06/0.9681, allocations: 0 / 1.147 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005456/0.9687, allocations: 197 kB / 1.147 GB, free: 16.64 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: 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.001123/0.9698, allocations: 1.243 MB / 1.148 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.9708, allocations: 0.7177 MB / 1.149 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9709, allocations: 0 / 1.149 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.9711, allocations: 178.6 kB / 1.149 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.9716, allocations: 89.06 kB / 1.149 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.9735, allocations: 2.274 MB / 1.151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.9739, allocations: 0.8612 MB / 1.152 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.9741, allocations: 52.52 kB / 1.152 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.9743, allocations: 184.8 kB / 1.152 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of SimCode: time 5.28e-06/0.9743, allocations: 0 / 1.152 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.9996, allocations: 9.304 MB / 1.161 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.9998, allocations: 189.5 kB / 1.162 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.244, allocations: 0 / 1.162 GB, free: 4.91 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)