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.PIDWithResetScale.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.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.453/1.453, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0009048/0.0009047, allocations: 173.9 kB / 372.2 MB, free: 10.14 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.248/1.248, allocations: 205.4 MB / 0.631 GB, free: 9.941 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.0006863/0.0006864, allocations: 94.98 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004259, allocations: 15.44 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1707, 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.PIDWithResetScale): time 0.001654/0.1724, allocations: 1.657 MB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1741, allocations: 1.624 MB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.1744, allocations: 8 kB / 0.9834 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.1746, allocations: 59.38 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.1749, allocations: 69.73 kB / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.1756, allocations: 308 kB / 0.9838 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00051/0.1761, allocations: 0.6606 MB / 0.9845 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.1765, allocations: 313.3 kB / 0.9848 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.1767, allocations: 195.1 kB / 0.985 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1769, allocations: 218.8 kB / 0.9852 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.177, allocations: 24 kB / 0.9852 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.1771, allocations: 39.92 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.1771, allocations: 79.56 kB / 0.9853 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1773, allocations: 260.3 kB / 0.9856 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.1777, allocations: 0.6547 MB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1777, allocations: 3.938 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1777, allocations: 0 / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.1777, allocations: 0 / 0.9862 GB, free: 21.09 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001145/0.1789, allocations: 0.8893 MB / 0.9871 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1789, allocations: 11.97 kB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.179, allocations: 98.64 kB / 0.9872 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.1791, allocations: 72.09 kB / 0.9872 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.1795, allocations: 438.9 kB / 0.9877 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.1795, allocations: 41.38 kB / 0.9877 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.1796, allocations: 68.27 kB / 0.9878 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.1803, allocations: 495.5 kB / 0.9882 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1803, allocations: 3.938 kB / 0.9882 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.1803, allocations: 24 kB / 0.9883 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1803, allocations: 12 kB / 0.9883 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.1809, allocations: 355.8 kB / 0.9886 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1825, allocations: 1.585 MB / 0.9902 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/0.1832, allocations: 0.8878 MB / 0.991 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.1835, allocations: 235.2 kB / 0.9913 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.1835, allocations: 4 kB / 0.9913 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.1839, allocations: 264.6 kB / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.1839, allocations: 0 / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.0008316/0.1848, allocations: 0.5532 MB / 0.9921 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1848, allocations: 107.2 kB / 0.9922 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.1851, allocations: 417.8 kB / 0.9926 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.1852, allocations: 37.7 kB / 0.9926 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1853, allocations: 265 kB / 0.9928 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.1854, allocations: 157.8 kB / 0.993 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1854, allocations: 8 kB / 0.993 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.1855, allocations: 362.8 kB / 0.9933 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.1858, allocations: 189 kB / 0.9935 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.1861, allocations: 287.4 kB / 0.9938 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.1867, allocations: 469.5 kB / 0.9943 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1867, allocations: 0 / 0.9943 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008596/0.1876, allocations: 0.6353 MB / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.1877, allocations: 207.4 kB / 0.9951 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1877, allocations: 4 kB / 0.9951 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1877, allocations: 4 kB / 0.9951 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.188, allocations: 87.89 kB / 0.9952 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.188, allocations: 4 kB / 0.9952 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.1885, allocations: 135.4 kB / 0.9953 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.1886, allocations: 27.98 kB / 0.9953 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.1886, allocations: 5.406 kB / 0.9953 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006376/0.1892, allocations: 0.5367 MB / 0.9959 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.1892, allocations: 0 / 0.9959 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.497e-06/0.1893, allocations: 4 kB / 0.9959 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.1895, allocations: 75.91 kB / 0.9959 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1895, allocations: 11.92 kB / 0.9959 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.1899, allocations: 115.6 kB / 0.996 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.19, allocations: 20 kB / 0.9961 GB, free: 10.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001753/0.1902, allocations: 263.3 kB / 0.9963 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.1902, allocations: 51.38 kB / 0.9964 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.056e-05/0.1903, allocations: 53.19 kB / 0.9964 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1903, allocations: 12.12 kB / 0.9964 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1903, allocations: 0 / 0.9964 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1903, allocations: 3.984 kB / 0.9964 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1915, allocations: 1.084 MB / 0.9975 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1915, allocations: 0 / 0.9975 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.1918, allocations: 83.89 kB / 0.9976 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.1918, allocations: 0 / 0.9976 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1918, allocations: 15.94 kB / 0.9976 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1918, allocations: 4 kB / 0.9976 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1918, allocations: 0 / 0.9976 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.1927, allocations: 0.7128 MB / 0.9983 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.1928, allocations: 132.5 kB / 0.9984 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.1928, allocations: 8 kB / 0.9984 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.193, allocations: 31.97 kB / 0.9985 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1931, allocations: 28.41 kB / 0.9985 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.1931, allocations: 15.98 kB / 0.9985 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002155/0.1933, allocations: 283.2 kB / 0.9988 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1933, allocations: 3.938 kB / 0.9988 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004649/0.1938, allocations: 231.1 kB / 0.999 GB, free: 7.367 MB / 0.6198 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001026/0.1948, allocations: 1.27 MB / 1 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.1959, allocations: 0.939 MB / 1.001 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1959, allocations: 8 kB / 1.001 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.1961, allocations: 198.4 kB / 1.001 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.1967, allocations: 97.38 kB / 1.001 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.2001, allocations: 3.095 MB / 1.004 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.2004, allocations: 0.8515 MB / 1.005 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.2006, allocations: 59.61 kB / 1.005 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.2008, allocations: 203.4 kB / 1.006 GB, free: 496 kB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.2008, allocations: 0 / 1.006 GB, free: 496 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.2232, allocations: 11.05 MB / 1.016 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.2235, allocations: 212.3 kB / 1.017 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.226, allocations: 5.875 kB / 1.017 GB, free: 5.43 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)