Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.435/1.435, allocations: 287.4 MB / 302.5 MB, free: 8.309 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.0009121, allocations: 174.1 kB / 371.1 MB, free: 10.81 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.182/1.182, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0006688/0.0006687, allocations: 90.23 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 13.19 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 115.3 MB / 0.9787 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001317/0.1537, allocations: 1.613 MB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.1545, allocations: 0.6528 MB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.1546, allocations: 4 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.1546, allocations: 7.875 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.301e-05/0.1547, allocations: 39.69 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.155, allocations: 115.8 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1552, allocations: 287.2 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.1553, allocations: 48.38 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1554, allocations: 119.6 kB / 0.9816 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1556, allocations: 123.5 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.1556, allocations: 16 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.1556, allocations: 16 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.1557, allocations: 55.8 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.1557, allocations: 69.52 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1558, allocations: 203.7 kB / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1559, allocations: 0 / 0.982 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 7.12e-07/0.1559, allocations: 4 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1559, allocations: 0 / 0.982 GB, free: 24.66 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.0008133/0.1567, allocations: 0.6159 MB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.617e-05/0.1567, allocations: 8.031 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.1568, allocations: 66.72 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1568, allocations: 32.66 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.571e-05/0.1569, allocations: 196.7 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.157, allocations: 264.3 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.1571, allocations: 40.2 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.1574, allocations: 265.7 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1575, allocations: 7.938 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1575, allocations: 8 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1575, allocations: 4 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.1579, allocations: 189.2 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.1586, allocations: 0.7776 MB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.159, allocations: 219.6 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.1592, allocations: 134.5 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1592, allocations: 8.375 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.1596, allocations: 319.3 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.753e-06/0.1596, allocations: 4 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.000765/0.1604, allocations: 0.4939 MB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1604, allocations: 118.8 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.1605, allocations: 175.5 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.1606, allocations: 37.7 kB / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.1606, allocations: 121.2 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.1607, allocations: 149.9 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.1607, allocations: 12 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.1608, allocations: 342.8 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.161, allocations: 149.2 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1613, allocations: 260.7 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.1618, allocations: 398 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1618, allocations: 4 kB / 0.9872 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000647/0.1624, allocations: 0.4932 MB / 0.9877 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1624, allocations: 7.938 kB / 0.9877 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1625, allocations: 4 kB / 0.9877 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1625, allocations: 4 kB / 0.9877 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1628, allocations: 99.83 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1628, allocations: 11.98 kB / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1631, allocations: 63.66 kB / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1631, allocations: 24 kB / 0.9879 GB, free: 18.19 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.0001059/0.1632, allocations: 160 kB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1632, allocations: 31.64 kB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.1633, allocations: 33.88 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1633, allocations: 4 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1633, allocations: 0 / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1633, allocations: 7.984 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1636, allocations: 357.1 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1636, allocations: 12 kB / 0.9885 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.1639, allocations: 75.89 kB / 0.9886 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1639, allocations: 8 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.164, allocations: 11.98 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.164, allocations: 4 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.164, allocations: 3.938 kB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.1648, allocations: 0.5902 MB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.1648, allocations: 108.6 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.1648, allocations: 15.98 kB / 0.9893 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.165, allocations: 43.97 kB / 0.9893 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.1651, allocations: 35.95 kB / 0.9894 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1652, allocations: 19.98 kB / 0.9894 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.1652, allocations: 129.2 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 4 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002556/0.1655, allocations: 79.98 kB / 0.9896 GB, free: 16.38 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.0009224/0.1664, allocations: 1.158 MB / 0.9907 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.167, allocations: 400.2 kB / 0.9911 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.167, allocations: 0 / 0.9911 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.1673, allocations: 187.8 kB / 0.9913 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1675, allocations: 41.53 kB / 0.9913 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1695, allocations: 1.865 MB / 0.9932 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1696, allocations: 0.7724 MB / 0.9939 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.1698, allocations: 38.95 kB / 0.9939 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.1699, allocations: 87.78 kB / 0.994 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1699, allocations: 4 kB / 0.994 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4787/0.6486, allocations: 5.524 MB / 0.9994 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.6488, allocations: 203.8 kB / 0.9996 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.823, allocations: 4 kB / 0.9996 GB, free: 6.105 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)