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_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.477/1.477, allocations: 287.4 MB / 302.5 MB, free: 8.34 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.001354/0.001354, allocations: 174 kB / 371.1 MB, free: 10.83 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.125/1.125, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006545/0.0006545, allocations: 91.47 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003089, allocations: 16.48 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 115.3 MB / 0.9788 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001472/0.1446, allocations: 1.613 MB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.1455, allocations: 0.6528 MB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.1456, allocations: 4 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.1456, allocations: 11.86 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.856e-05/0.1457, allocations: 31.7 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.146, allocations: 119.7 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1462, allocations: 291.2 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.1464, allocations: 40.39 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1466, allocations: 119.6 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1467, allocations: 123.5 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.1467, allocations: 16 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.1468, allocations: 19.94 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1468, allocations: 55.88 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1469, allocations: 65.58 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.147, allocations: 207.7 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.147, allocations: 0 / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.147, allocations: 0 / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.147, allocations: 7.938 kB / 0.982 GB, free: 24.65 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.0008881/0.1479, allocations: 0.612 MB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.148, allocations: 8.031 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.148, allocations: 58.72 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.1481, allocations: 36.66 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.594e-05/0.1482, allocations: 204.7 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.1483, allocations: 264.3 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.1483, allocations: 36.27 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.1487, allocations: 265.6 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1488, allocations: 8 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.1488, allocations: 4 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1488, allocations: 4 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.1491, allocations: 187.9 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.15, allocations: 0.7893 MB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.1504, allocations: 207.7 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.1506, allocations: 130.5 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.1506, allocations: 16.36 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.1511, allocations: 319.4 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.563e-06/0.1511, allocations: 0 / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.000793/0.1519, allocations: 495.2 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1519, allocations: 122.7 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.152, allocations: 171.5 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1521, allocations: 41.7 kB / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.1521, allocations: 125.2 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.1522, allocations: 149.9 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.1522, allocations: 12 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.1522, allocations: 338.8 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.1525, allocations: 153.2 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.1528, allocations: 257.6 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.1533, allocations: 402.1 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1533, allocations: 3.938 kB / 0.9872 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006501/0.1539, allocations: 497.4 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1539, allocations: 4 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.154, allocations: 4 kB / 0.9877 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.154, allocations: 8 kB / 0.9877 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.1543, allocations: 103.8 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1543, allocations: 8.141 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1546, allocations: 67.66 kB / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1546, allocations: 20 kB / 0.9879 GB, free: 18.2 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.0001041/0.1547, allocations: 168.2 kB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.1547, allocations: 31.66 kB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.1548, allocations: 29.88 kB / 0.9881 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1548, allocations: 4 kB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1548, allocations: 4.062 kB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1548, allocations: 7.984 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.155, allocations: 361.2 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1551, allocations: 7.938 kB / 0.9885 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.1554, allocations: 71.91 kB / 0.9886 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1554, allocations: 4 kB / 0.9886 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.1555, allocations: 11.98 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1555, allocations: 4 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1555, allocations: 3.938 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.1563, allocations: 0.5979 MB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.1563, allocations: 108.6 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.1564, allocations: 11.98 kB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1566, allocations: 43.97 kB / 0.9893 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.1567, allocations: 44.03 kB / 0.9894 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.1567, allocations: 15.94 kB / 0.9894 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.1567, allocations: 133.1 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1567, allocations: 0 / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002487/0.157, allocations: 76 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.0009497/0.1579, allocations: 1.162 MB / 0.9907 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005726/0.1585, allocations: 394.7 kB / 0.9911 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1585, allocations: 4 kB / 0.9911 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.1588, allocations: 183.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.000263/0.1591, allocations: 40.34 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.001993/0.1611, allocations: 1.868 MB / 0.9932 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.1612, allocations: 0.7724 MB / 0.9939 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.1614, allocations: 43.14 kB / 0.994 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1615, allocations: 83.41 kB / 0.994 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1615, allocations: 0 / 0.994 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5759/0.7374, allocations: 5.539 MB / 0.9994 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.7376, allocations: 214 kB / 0.9996 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.692, allocations: 0 / 0.9996 GB, free: 6.129 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)