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.439/1.439, allocations: 288.4 MB / 303.6 MB, free: 8.148 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.0009121/0.000912, allocations: 175.4 kB / 372.3 MB, free: 10.13 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.272/1.272, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0006693/0.0006692, allocations: 98.28 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 13.91 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1815, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002328/0.1838, allocations: 2.607 MB / 0.9828 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1862, allocations: 1.642 MB / 0.9844 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.187, allocations: 19.94 kB / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.1874, allocations: 106.9 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.1879, allocations: 91.28 kB / 0.9846 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1884, allocations: 219.7 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009939/0.1895, allocations: 0.9438 MB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007825/0.1902, allocations: 0.5685 MB / 0.9863 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.1905, allocations: 246.5 kB / 0.9865 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.1908, allocations: 301.9 kB / 0.9868 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1909, allocations: 28 kB / 0.9868 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.561e-05/0.191, allocations: 24 kB / 0.9868 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.1911, allocations: 135.3 kB / 0.987 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1913, allocations: 355.3 kB / 0.9873 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.1919, allocations: 0.9741 MB / 0.9882 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1919, allocations: 0 / 0.9882 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1919, allocations: 0 / 0.9882 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.268e-05/0.1919, allocations: 0 / 0.9882 GB, free: 18.95 MB / 0.6198 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.001812/0.1937, allocations: 1.181 MB / 0.9894 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1938, allocations: 12.03 kB / 0.9894 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002114/0.194, allocations: 139.6 kB / 0.9895 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.1942, allocations: 115.5 kB / 0.9897 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.195, allocations: 0.5908 MB / 0.9902 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.195, allocations: 66.38 kB / 0.9903 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1951, allocations: 92.28 kB / 0.9904 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1964, allocations: 0.8671 MB / 0.9912 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1965, allocations: 7.875 kB / 0.9912 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.1965, allocations: 36 kB / 0.9913 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1965, allocations: 20 kB / 0.9913 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1977, allocations: 0.6285 MB / 0.9919 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.2008, allocations: 2.728 MB / 0.9946 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.2019, allocations: 1.323 MB / 0.9959 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.2024, allocations: 382.5 kB / 0.9962 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.2025, allocations: 20.53 kB / 0.9962 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005523/0.203, allocations: 343.1 kB / 0.9966 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 2.765e-06/0.203, allocations: 0 / 0.9966 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001244/0.2043, allocations: 0.8144 MB / 0.9974 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2043, allocations: 162.8 kB / 0.9975 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.2048, allocations: 0.5861 MB / 0.9981 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.2049, allocations: 41.7 kB / 0.9981 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.2051, allocations: 420 kB / 0.9985 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/0.2052, allocations: 236.7 kB / 0.9988 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.2052, allocations: 19.94 kB / 0.9988 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.2053, allocations: 386.7 kB / 0.9992 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.2057, allocations: 229.2 kB / 0.9994 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.2061, allocations: 345.4 kB / 0.9997 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.2068, allocations: 0.5234 MB / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2069, allocations: 0 / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009172/0.2078, allocations: 0.676 MB / 1.001 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.2078, allocations: 118.3 kB / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2078, allocations: 0 / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2079, allocations: 4 kB / 1.001 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.2083, allocations: 155.7 kB / 1.001 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2083, allocations: 4 kB / 1.001 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.2087, allocations: 107.3 kB / 1.001 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.2087, allocations: 23.98 kB / 1.001 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/0.2087, allocations: 4 kB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000525/0.2093, allocations: 475.6 kB / 1.002 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.2093, allocations: 0 / 1.002 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.2093, allocations: 4 kB / 1.002 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.2096, allocations: 119.8 kB / 1.002 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2096, allocations: 7.938 kB / 1.002 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.2099, allocations: 83.5 kB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2099, allocations: 20 kB / 1.002 GB, free: 4.402 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002395/0.2102, allocations: 296.9 kB / 1.002 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.2102, allocations: 79.05 kB / 1.002 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.2103, allocations: 78.95 kB / 1.002 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2103, allocations: 8 kB / 1.002 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2104, allocations: 4 kB / 1.002 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2104, allocations: 3.984 kB / 1.002 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.2122, allocations: 1.594 MB / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2122, allocations: 0 / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.2127, allocations: 127.8 kB / 1.004 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2127, allocations: 7.938 kB / 1.004 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.2127, allocations: 19.92 kB / 1.004 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2127, allocations: 3.938 kB / 1.004 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2127, allocations: 8 kB / 1.004 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.214, allocations: 1.014 MB / 1.005 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.2141, allocations: 156 kB / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.2141, allocations: 19.94 kB / 1.005 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.2144, allocations: 55.97 kB / 1.005 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.2145, allocations: 36.5 kB / 1.005 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.2146, allocations: 23.98 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000349/0.2149, allocations: 411.1 kB / 1.006 GB, free: 388 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2149, allocations: 0 / 1.006 GB, free: 388 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005004/0.2154, allocations: 310.4 kB / 1.006 GB, free: 76 kB / 0.6198 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: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * 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.001845/0.2173, allocations: 1.586 MB / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.2186, allocations: 0.8242 MB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2187, allocations: 0 / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.2191, allocations: 303.2 kB / 1.009 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.2198, allocations: 139.2 kB / 1.009 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/0.2261, allocations: 4.543 MB / 1.013 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.2266, allocations: 0.9781 MB / 1.014 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.227, allocations: 89.27 kB / 1.014 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.2274, allocations: 345.1 kB / 1.015 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.2274, allocations: 3.938 kB / 1.015 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.2536, allocations: 13.46 MB / 1.028 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.2538, allocations: 201.3 kB / 1.028 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.362, allocations: 4.062 kB / 1.028 GB, free: 9.699 MB / 0.6511 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)