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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",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.503/1.503, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.001041/0.001041, allocations: 176.5 kB / 372.3 MB, free: 10.11 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.232/1.232, allocations: 205.4 MB / 0.631 GB, free: 9.93 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.0006738/0.0006739, allocations: 90.36 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 14.34 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, 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.MovingMean): time 0.001343/0.1714, allocations: 1.622 MB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006872/0.1721, allocations: 0.6517 MB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.1722, allocations: 4 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.1722, allocations: 7.875 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.1723, allocations: 39.64 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1726, allocations: 111.9 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1727, allocations: 291.2 kB / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1728, allocations: 44.39 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.173, allocations: 111.6 kB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1731, allocations: 131.5 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1731, allocations: 19.94 kB / 0.9832 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.995e-05/0.1732, allocations: 12 kB / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.1732, allocations: 59.8 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.1733, allocations: 141.2 kB / 0.9834 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1734, allocations: 207.7 kB / 0.9836 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1734, allocations: 0 / 0.9836 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1734, allocations: 0 / 0.9836 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.1734, allocations: 3.938 kB / 0.9836 GB, free: 23.78 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.0008361/0.1743, allocations: 0.6157 MB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.1743, allocations: 8.031 kB / 0.9842 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1744, allocations: 62.67 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.1744, allocations: 32.66 kB / 0.9843 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.663e-05/0.1745, allocations: 204.7 kB / 0.9845 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1746, allocations: 272.3 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.1747, allocations: 32.28 kB / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.175, allocations: 261.7 kB / 0.985 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1751, allocations: 4 kB / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.1751, allocations: 12 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1751, allocations: 4 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.1755, allocations: 187.8 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.1762, allocations: 0.7815 MB / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.1766, allocations: 203.7 kB / 0.9862 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.1768, allocations: 138.5 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.1768, allocations: 16.36 kB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/0.1773, allocations: 323.3 kB / 0.9866 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.583e-06/0.1773, allocations: 0 / 0.9866 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0008017/0.1781, allocations: 499.5 kB / 0.9871 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1781, allocations: 114.8 kB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.1782, allocations: 175.5 kB / 0.9874 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1783, allocations: 41.7 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.1783, allocations: 121.2 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.1784, allocations: 149.9 kB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.1784, allocations: 12 kB / 0.9877 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.1785, allocations: 342.8 kB / 0.988 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.1788, allocations: 149.2 kB / 0.9881 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.179, allocations: 260.7 kB / 0.9884 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.1795, allocations: 390.1 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1795, allocations: 7.984 kB / 0.9888 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006535/0.1802, allocations: 0.4891 MB / 0.9892 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.1802, allocations: 4 kB / 0.9892 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1802, allocations: 4 kB / 0.9893 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1802, allocations: 7.984 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.1805, allocations: 107.8 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1806, allocations: 4.703 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.1808, allocations: 63.66 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.1808, allocations: 27.94 kB / 0.9895 GB, free: 17.32 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.0001167/0.181, allocations: 168 kB / 0.9896 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.181, allocations: 31.66 kB / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1811, allocations: 29.88 kB / 0.9897 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1811, allocations: 4 kB / 0.9897 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1811, allocations: 3.984 kB / 0.9897 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1811, allocations: 4 kB / 0.9897 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.1813, allocations: 357.2 kB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1813, allocations: 7.938 kB / 0.99 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.1817, allocations: 79.89 kB / 0.9901 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1817, allocations: 4.062 kB / 0.9901 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.1817, allocations: 12 kB / 0.9901 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1817, allocations: 4 kB / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1818, allocations: 0 / 0.9901 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.1826, allocations: 0.5982 MB / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.1826, allocations: 112.6 kB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.1826, allocations: 16 kB / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1829, allocations: 39.97 kB / 0.9909 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.183, allocations: 55.92 kB / 0.9909 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.183, allocations: 19.98 kB / 0.9909 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.183, allocations: 129.2 kB / 0.9911 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.183, allocations: 0 / 0.9911 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002552/0.1833, allocations: 72 kB / 0.9911 GB, free: 15.49 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.0009678/0.1843, allocations: 1.17 MB / 0.9923 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005433/0.1848, allocations: 394.8 kB / 0.9927 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1848, allocations: 0 / 0.9927 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.1852, allocations: 211.8 kB / 0.9929 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1854, allocations: 40.34 kB / 0.9929 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.1874, allocations: 1.869 MB / 0.9947 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.1875, allocations: 0.7686 MB / 0.9955 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.1877, allocations: 43.14 kB / 0.9955 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1878, allocations: 83.41 kB / 0.9956 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1878, allocations: 0 / 0.9956 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3894/0.5772, allocations: 5.803 MB / 1.001 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.5774, allocations: 212.2 kB / 1.001 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/2.761, allocations: 0 / 1.001 GB, free: 4.926 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)