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.MovingMean_nonZeroStart.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.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",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.488/1.488, allocations: 288.4 MB / 303.6 MB, free: 8.039 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.0009255/0.0009254, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.24/1.24, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0006934/0.0006934, allocations: 90.36 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 13.75 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1736, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001595/0.1753, allocations: 1.618 MB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.1762, allocations: 0.6556 MB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.1763, allocations: 0 / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.1763, allocations: 15.86 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1765, allocations: 31.7 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1768, allocations: 123.7 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.177, allocations: 287.2 kB / 0.9829 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1772, allocations: 48.36 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1773, allocations: 103.6 kB / 0.983 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1775, allocations: 131.5 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.1775, allocations: 19.94 kB / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.383e-05/0.1776, allocations: 19.94 kB / 0.9832 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.1776, allocations: 59.84 kB / 0.9832 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.1777, allocations: 141.1 kB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1779, allocations: 207.7 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1779, allocations: 4 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1779, allocations: 0 / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1779, allocations: 0 / 0.9836 GB, free: 23.75 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009499/0.1788, allocations: 0.6089 MB / 0.9842 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1789, allocations: 12.03 kB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.179, allocations: 58.73 kB / 0.9842 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.179, allocations: 32.59 kB / 0.9843 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.859e-05/0.1791, allocations: 212.6 kB / 0.9845 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.1793, allocations: 264.3 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.1793, allocations: 32.28 kB / 0.9848 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.1797, allocations: 265.7 kB / 0.985 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1797, allocations: 4 kB / 0.985 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1798, allocations: 7.984 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1798, allocations: 8 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.1801, allocations: 187.8 kB / 0.9852 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.1809, allocations: 0.7737 MB / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.1813, allocations: 207.7 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1815, allocations: 143.2 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.1816, allocations: 4.375 kB / 0.9863 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.182, allocations: 323.4 kB / 0.9866 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.562e-06/0.182, allocations: 3.938 kB / 0.9866 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0008209/0.1828, allocations: 0.4901 MB / 0.9871 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1829, allocations: 118.8 kB / 0.9872 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.183, allocations: 175.5 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.183, allocations: 37.7 kB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.1831, allocations: 121.2 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.1831, allocations: 149.9 kB / 0.9877 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.1832, allocations: 12 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.1832, allocations: 342.8 kB / 0.988 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.1835, allocations: 153.2 kB / 0.9882 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.1837, allocations: 260.7 kB / 0.9884 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.1842, allocations: 402 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1842, allocations: 0 / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006402/0.1849, allocations: 493.5 kB / 0.9893 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1849, allocations: 11.98 kB / 0.9893 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1849, allocations: 80 / 0.9893 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1849, allocations: 8 kB / 0.9893 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.1853, allocations: 99.83 kB / 0.9894 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1853, allocations: 11.92 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.1855, allocations: 67.66 kB / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1856, allocations: 20 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001132/0.1857, allocations: 164.2 kB / 0.9896 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.1857, allocations: 27.66 kB / 0.9896 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1858, allocations: 33.86 kB / 0.9897 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1858, allocations: 7.938 kB / 0.9897 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1858, allocations: 12.06 kB / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1858, allocations: 0 / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1861, allocations: 357.2 kB / 0.99 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1861, allocations: 3.938 kB / 0.99 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.1864, allocations: 75.89 kB / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1864, allocations: 0 / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.1865, allocations: 12 kB / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1865, allocations: 7.984 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1865, allocations: 0 / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.1873, allocations: 0.5987 MB / 0.9907 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.1873, allocations: 116.6 kB / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.1874, allocations: 8 kB / 0.9908 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1876, allocations: 43.95 kB / 0.9909 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1877, allocations: 52.03 kB / 0.9909 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1877, allocations: 23.97 kB / 0.991 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.1878, allocations: 125.2 kB / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1878, allocations: 0 / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002628/0.1881, allocations: 80 kB / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0009607/0.189, allocations: 1.162 MB / 0.9923 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.1896, allocations: 402.6 kB / 0.9927 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1896, allocations: 0 / 0.9927 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.1899, allocations: 203.7 kB / 0.9929 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1902, allocations: 43.97 kB / 0.9929 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1922, allocations: 1.864 MB / 0.9947 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.1924, allocations: 0.7725 MB / 0.9955 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.1925, allocations: 30.97 kB / 0.9955 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.1927, allocations: 87.41 kB / 0.9956 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.1927, allocations: 3.938 kB / 0.9956 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.28/0.4726, allocations: 5.826 MB / 1.001 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.4728, allocations: 219.8 kB / 1.001 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.489, allocations: 0 / 1.001 GB, free: 4.922 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)