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.PIDScale.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.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.417/1.417, allocations: 288.4 MB / 303.6 MB, free: 8.16 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.001059/0.001059, allocations: 188.5 kB / 372.3 MB, free: 10.09 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.265/1.265, allocations: 205.4 MB / 0.631 GB, free: 9.867 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.0007843/0.0007844, allocations: 94.3 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.000391, allocations: 14.97 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.001672/0.177, allocations: 1.584 MB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.179, allocations: 1.531 MB / 0.9832 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.1793, allocations: 8 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1795, allocations: 55.39 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.1798, allocations: 75.48 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.1803, allocations: 213.9 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.1807, allocations: 0.5787 MB / 0.9842 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.1811, allocations: 292.5 kB / 0.9844 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1812, allocations: 167.1 kB / 0.9846 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1814, allocations: 186.9 kB / 0.9848 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.1814, allocations: 16 kB / 0.9848 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.1815, allocations: 39.92 kB / 0.9848 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1816, allocations: 67.62 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1817, allocations: 236.4 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.182, allocations: 0.6119 MB / 0.9857 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1821, allocations: 0 / 0.9857 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.1821, allocations: 0 / 0.9857 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1821, allocations: 3.938 kB / 0.9857 GB, free: 21.54 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00108/0.1832, allocations: 0.8136 MB / 0.9865 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1832, allocations: 8.031 kB / 0.9865 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.1833, allocations: 90.7 kB / 0.9866 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.1834, allocations: 68.09 kB / 0.9867 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1838, allocations: 430.9 kB / 0.9871 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1838, allocations: 37.38 kB / 0.9871 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.1839, allocations: 56.38 kB / 0.9872 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.1845, allocations: 467.5 kB / 0.9876 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1846, allocations: 3.938 kB / 0.9876 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.1846, allocations: 20 kB / 0.9876 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.1846, allocations: 16 kB / 0.9876 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.1851, allocations: 339.8 kB / 0.988 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1867, allocations: 1.484 MB / 0.9894 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.1874, allocations: 0.8754 MB / 0.9903 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.1877, allocations: 217 kB / 0.9905 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1877, allocations: 7.938 kB / 0.9905 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.1881, allocations: 239 kB / 0.9907 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 1.543e-06/0.1881, allocations: 0 / 0.9907 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0007753/0.1889, allocations: 0.4924 MB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1889, allocations: 114.8 kB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.1892, allocations: 397.6 kB / 0.9917 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1893, allocations: 37.7 kB / 0.9917 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1894, allocations: 252.3 kB / 0.992 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.1895, allocations: 138 kB / 0.9921 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.1895, allocations: 8 kB / 0.9921 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.1896, allocations: 358.8 kB / 0.9924 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.1899, allocations: 168.7 kB / 0.9926 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1902, allocations: 263 kB / 0.9929 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/0.1907, allocations: 403.2 kB / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1907, allocations: 0 / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007341/0.1914, allocations: 0.5316 MB / 0.9938 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.078e-05/0.1915, allocations: 189 kB / 0.9939 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1915, allocations: 0 / 0.9939 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1915, allocations: 4 kB / 0.9939 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.1918, allocations: 87.89 kB / 0.994 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1919, allocations: 4 kB / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.1922, allocations: 98.09 kB / 0.9941 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.1923, allocations: 20 kB / 0.9941 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.071e-06/0.1923, allocations: 4 kB / 0.9942 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005111/0.1928, allocations: 429.3 kB / 0.9946 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.1928, allocations: 0 / 0.9946 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/0.1928, allocations: 4 kB / 0.9946 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.193, allocations: 79.84 kB / 0.9946 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.193, allocations: 7.984 kB / 0.9946 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.1933, allocations: 83.7 kB / 0.9947 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.1934, allocations: 20 kB / 0.9947 GB, free: 11.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001535/0.1935, allocations: 250.4 kB / 0.995 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.1936, allocations: 47.52 kB / 0.995 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.1937, allocations: 52.7 kB / 0.9951 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1937, allocations: 11.94 kB / 0.9951 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1937, allocations: 3.938 kB / 0.9951 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1937, allocations: 0 / 0.9951 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1947, allocations: 1.011 MB / 0.9961 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1948, allocations: 0 / 0.9961 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.195, allocations: 75.89 kB / 0.9962 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1951, allocations: 11.97 kB / 0.9962 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1951, allocations: 12 kB / 0.9962 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1951, allocations: 4 kB / 0.9962 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1951, allocations: 0 / 0.9962 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.1959, allocations: 0.6564 MB / 0.9968 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.196, allocations: 124.5 kB / 0.9969 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.196, allocations: 8 kB / 0.997 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1962, allocations: 31.98 kB / 0.997 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1962, allocations: 23.95 kB / 0.997 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1963, allocations: 12 kB / 0.997 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002008/0.1965, allocations: 275.2 kB / 0.9973 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1965, allocations: 3.938 kB / 0.9973 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004383/0.1969, allocations: 195.2 kB / 0.9975 GB, free: 8.902 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: 4 ($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 (41): * Single equations (assignments): 40 * 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.0009762/0.1979, allocations: 1.221 MB / 0.9987 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008593/0.1988, allocations: 0.7219 MB / 0.9994 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1988, allocations: 0.875 kB / 0.9994 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.199, allocations: 183.6 kB / 0.9995 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.1996, allocations: 85.44 kB / 0.9996 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.2027, allocations: 2.823 MB / 1.002 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.2029, allocations: 0.847 MB / 1.003 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.2031, allocations: 47.33 kB / 1.003 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.2033, allocations: 187.4 kB / 1.003 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2033, allocations: 0 / 1.003 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.2244, allocations: 9.476 MB / 1.013 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.2246, allocations: 200.4 kB / 1.013 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.237, allocations: 0 / 1.013 GB, free: 9.145 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)