Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.697/1.697, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001603/0.001603, allocations: 192.8 kB / 377.1 MB, free: 1.52 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.643/1.643, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0008031/0.0008032, allocations: 86.44 kB / 0.7509 GB, free: 63.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2491, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6528/0.9019, allocations: 140.5 MB / 1.126 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.9022, allocations: 78.73 kB / 1.126 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0335/0.9357, allocations: 13.78 MB / 1.139 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9358, allocations: 3.938 kB / 1.139 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.168e-05/0.9358, allocations: 20 kB / 1.139 GB, free: 25.25 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001823/0.9376, allocations: 1.176 MB / 1.14 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9377, allocations: 20.02 kB / 1.14 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.9379, allocations: 134.1 kB / 1.14 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.938, allocations: 117.5 kB / 1.141 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.9389, allocations: 0.5933 MB / 1.141 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.939, allocations: 70 kB / 1.141 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.9391, allocations: 95.91 kB / 1.141 GB, free: 23.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.9405, allocations: 0.8553 MB / 1.142 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.9406, allocations: 0 / 1.142 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.9406, allocations: 45.25 kB / 1.142 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.9406, allocations: 20 kB / 1.142 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.9418, allocations: 0.6368 MB / 1.143 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.945, allocations: 2.509 MB / 1.145 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.9462, allocations: 1.323 MB / 1.147 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.9463, allocations: 9.172 kB / 1.147 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006142/0.9469, allocations: 361.1 kB / 1.147 GB, free: 18.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 2.284e-06/0.9469, allocations: 7.938 kB / 1.147 GB, free: 18.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001336/0.9482, allocations: 0.8248 MB / 1.148 GB, free: 17.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.9483, allocations: 162.8 kB / 1.148 GB, free: 17.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.9488, allocations: 0.5258 MB / 1.148 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.9489, allocations: 43.11 kB / 1.148 GB, free: 16.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.9491, allocations: 404.3 kB / 1.149 GB, free: 16.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.9492, allocations: 240.1 kB / 1.149 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.9493, allocations: 16 kB / 1.149 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.9494, allocations: 330.6 kB / 1.149 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.9497, allocations: 225.9 kB / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.9502, allocations: 337.2 kB / 1.15 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.9506, allocations: 257.4 kB / 1.15 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9506, allocations: 3.953 kB / 1.15 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009872/0.9516, allocations: 0.6636 MB / 1.151 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.9517, allocations: 185.2 kB / 1.151 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9517, allocations: 1.797 kB / 1.151 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.9517, allocations: 8 kB / 1.151 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.9522, allocations: 143.5 kB / 1.151 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.9522, allocations: 6.531 kB / 1.151 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.9526, allocations: 111 kB / 1.151 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.9526, allocations: 22.77 kB / 1.151 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.9526, allocations: 4 kB / 1.151 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000539/0.9532, allocations: 462.4 kB / 1.152 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-06/0.9532, allocations: 0 / 1.152 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.9532, allocations: 4 kB / 1.152 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.9536, allocations: 119.7 kB / 1.152 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.9536, allocations: 5.453 kB / 1.152 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.9538, allocations: 77.62 kB / 1.152 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.9539, allocations: 17.94 kB / 1.152 GB, free: 13.2 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 () * Number of clocked 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.0003284/0.9542, allocations: 297.2 kB / 1.152 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.9543, allocations: 80 kB / 1.152 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.9544, allocations: 84.47 kB / 1.152 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.9545, allocations: 4 kB / 1.152 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.9545, allocations: 0 / 1.152 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.9545, allocations: 8.312 kB / 1.152 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.9567, allocations: 1.603 MB / 1.154 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9567, allocations: 7.938 kB / 1.154 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.9573, allocations: 134.2 kB / 1.154 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.9573, allocations: 4 kB / 1.154 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.9573, allocations: 15.19 kB / 1.154 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9573, allocations: 0 / 1.154 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9573, allocations: 0 / 1.154 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.9588, allocations: 1.041 MB / 1.155 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.9589, allocations: 161.3 kB / 1.155 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.959, allocations: 16.66 kB / 1.155 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.9593, allocations: 56.23 kB / 1.155 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.9594, allocations: 33.55 kB / 1.155 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.9594, allocations: 23.33 kB / 1.155 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004625/0.9599, allocations: 418.6 kB / 1.156 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9599, allocations: 0 / 1.156 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000642/0.9606, allocations: 300.9 kB / 1.156 GB, free: 9.344 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 () * Number of clocked 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.001661/0.9622, allocations: 1.614 MB / 1.158 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.9635, allocations: 0.8172 MB / 1.158 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.9636, allocations: 4 kB / 1.158 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.9641, allocations: 307.6 kB / 1.159 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.9647, allocations: 124.6 kB / 1.159 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.9704, allocations: 4.729 MB / 1.164 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.9709, allocations: 1 MB / 1.165 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003839/0.9712, allocations: 84.23 kB / 1.165 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.9716, allocations: 347.5 kB / 1.165 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of SimCode: time 1.012e-06/0.9717, allocations: 4 kB / 1.165 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/1, allocations: 13.55 MB / 1.178 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1, allocations: 190.1 kB / 1.178 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.459, allocations: 3.938 kB / 1.178 GB, free: 3.695 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)