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.PIDWithReset.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.838/1.838, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001367/0.001367, allocations: 185 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.923/1.923, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008922/0.0008922, allocations: 97.09 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006084/0.0006084, allocations: 17.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.236, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7132/0.9493, allocations: 139.5 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.9495, allocations: 76.09 kB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04731/0.9969, allocations: 13.77 MB / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9969, allocations: 7.844 kB / 1.129 GB, free: 29.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.681e-05/0.997, allocations: 27.31 kB / 1.129 GB, free: 29.85 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002509/0.9995, allocations: 1.172 MB / 1.13 GB, free: 29.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.9996, allocations: 19.45 kB / 1.13 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.9998, allocations: 132.4 kB / 1.131 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/1, allocations: 112.6 kB / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.001, allocations: 0.5992 MB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/1.001, allocations: 69.94 kB / 1.131 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.001, allocations: 97.66 kB / 1.131 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.003, allocations: 0.853 MB / 1.132 GB, free: 28.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/1.003, allocations: 4 kB / 1.132 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/1.003, allocations: 46.77 kB / 1.132 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.003, allocations: 22.34 kB / 1.132 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/1.005, allocations: 0.6352 MB / 1.133 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/1.009, allocations: 2.507 MB / 1.135 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.01, allocations: 1.327 MB / 1.137 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.623e-05/1.01, allocations: 16.09 kB / 1.137 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000762/1.011, allocations: 359.4 kB / 1.137 GB, free: 25.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 3.246e-06/1.011, allocations: 3.938 kB / 1.137 GB, free: 25.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001676/1.013, allocations: 0.8278 MB / 1.138 GB, free: 25.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/1.013, allocations: 162.4 kB / 1.138 GB, free: 25.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/1.014, allocations: 0.5225 MB / 1.139 GB, free: 25.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/1.014, allocations: 40.92 kB / 1.139 GB, free: 25.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/1.014, allocations: 409.1 kB / 1.139 GB, free: 25.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1.015, allocations: 234.6 kB / 1.139 GB, free: 24.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/1.015, allocations: 16.41 kB / 1.139 GB, free: 24.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.015, allocations: 331.6 kB / 1.14 GB, free: 24.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/1.015, allocations: 230.5 kB / 1.14 GB, free: 24.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/1.016, allocations: 335.1 kB / 1.14 GB, free: 24.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/1.016, allocations: 256.9 kB / 1.14 GB, free: 24.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.016, allocations: 3.953 kB / 1.14 GB, free: 24.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001407/1.018, allocations: 0.6677 MB / 1.141 GB, free: 24.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.018, allocations: 181.4 kB / 1.141 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.018, allocations: 0 / 1.141 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/1.018, allocations: 3.844 kB / 1.141 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/1.019, allocations: 149 kB / 1.141 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.019, allocations: 3.688 kB / 1.141 GB, free: 24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/1.019, allocations: 110.7 kB / 1.141 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/1.019, allocations: 26.08 kB / 1.141 GB, free: 23.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/1.019, allocations: 3.844 kB / 1.141 GB, free: 23.94 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006567/1.02, allocations: 459.7 kB / 1.142 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/1.02, allocations: 0 / 1.142 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/1.02, allocations: 3.844 kB / 1.142 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/1.02, allocations: 123.7 kB / 1.142 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.02, allocations: 3.812 kB / 1.142 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/1.021, allocations: 78.19 kB / 1.142 GB, free: 23.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/1.021, allocations: 19.47 kB / 1.142 GB, free: 23.84 MB / 0.698 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.0004647/1.021, allocations: 287.9 kB / 1.142 GB, free: 23.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.021, allocations: 81.86 kB / 1.142 GB, free: 23.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/1.022, allocations: 88.88 kB / 1.143 GB, free: 23.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.022, allocations: 7.938 kB / 1.143 GB, free: 23.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.022, allocations: 0 / 1.143 GB, free: 23.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/1.022, allocations: 7.859 kB / 1.143 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/1.024, allocations: 1.609 MB / 1.144 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.024, allocations: 3.938 kB / 1.144 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/1.025, allocations: 130.4 kB / 1.144 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/1.025, allocations: 3.906 kB / 1.144 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/1.025, allocations: 14.5 kB / 1.144 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.025, allocations: 7.75 kB / 1.144 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.025, allocations: 4 kB / 1.144 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/1.027, allocations: 1.038 MB / 1.145 GB, free: 22.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/1.027, allocations: 154.2 kB / 1.145 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/1.027, allocations: 14.66 kB / 1.145 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/1.027, allocations: 53.14 kB / 1.145 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/1.027, allocations: 41.73 kB / 1.146 GB, free: 22.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/1.027, allocations: 21.8 kB / 1.146 GB, free: 22.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004297/1.028, allocations: 419.7 kB / 1.146 GB, free: 22.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/1.028, allocations: 0 / 1.146 GB, free: 22.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006739/1.029, allocations: 290.9 kB / 1.146 GB, free: 22.19 MB / 0.698 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.001766/1.03, allocations: 1.62 MB / 1.148 GB, free: 21.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001262/1.032, allocations: 0.8213 MB / 1.149 GB, free: 21.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.032, allocations: 0 / 1.149 GB, free: 21.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/1.032, allocations: 309.7 kB / 1.149 GB, free: 21.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/1.033, allocations: 126.7 kB / 1.149 GB, free: 21.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/1.039, allocations: 4.726 MB / 1.154 GB, free: 18.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/1.039, allocations: 1.003 MB / 1.155 GB, free: 18.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003718/1.04, allocations: 83.44 kB / 1.155 GB, free: 18.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/1.04, allocations: 343.9 kB / 1.155 GB, free: 18 MB / 0.698 GB Notification: Performance of SimCode: time 1.714e-06/1.04, allocations: 3.938 kB / 1.155 GB, free: 17.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/1.067, allocations: 13.57 MB / 1.168 GB, free: 6.332 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.067, allocations: 206.4 kB / 1.168 GB, free: 6.086 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.423, allocations: 3.094 kB / 1.168 GB, free: 6.086 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)