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.895/1.895, allocations: 288.4 MB / 303.3 MB, free: 8.117 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.001001/0.001001, allocations: 184.5 kB / 372 MB, free: 10.27 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.71/1.71, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007553/0.0007551, allocations: 94.92 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 17.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2408, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001985/0.2428, allocations: 1.606 MB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008227/0.2437, allocations: 0.6595 MB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.2438, allocations: 3.938 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.2438, allocations: 15.86 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.96e-05/0.2439, allocations: 35.7 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.2443, allocations: 115.8 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.2445, allocations: 291.1 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2446, allocations: 40.36 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.2447, allocations: 107.7 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.2449, allocations: 135.5 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.2449, allocations: 19.94 kB / 0.9826 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.263e-05/0.245, allocations: 12 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.245, allocations: 59.8 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.2451, allocations: 65.58 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.2452, allocations: 211.7 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2453, allocations: 0 / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2453, allocations: 0 / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2453, allocations: 0 / 0.9829 GB, free: 24.16 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.001087/0.2464, allocations: 0.6195 MB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2464, allocations: 16.02 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/0.2465, allocations: 58.53 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.2465, allocations: 27.72 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2467, allocations: 195.5 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.2468, allocations: 263.8 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.2469, allocations: 35.89 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.2473, allocations: 265.7 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.2474, allocations: 4 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.2474, allocations: 4 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.2474, allocations: 8 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.2478, allocations: 193.4 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.2487, allocations: 0.77 MB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.2491, allocations: 208.3 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.2493, allocations: 142.8 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.2494, allocations: 16.12 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.2498, allocations: 323.6 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.2498, allocations: 0 / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0008876/0.2507, allocations: 493.9 kB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.2508, allocations: 130.7 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2509, allocations: 175.4 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.251, allocations: 41.7 kB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.251, allocations: 117.2 kB / 0.9869 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.2511, allocations: 146 kB / 0.987 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.2511, allocations: 12 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.2512, allocations: 338.8 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.2515, allocations: 157.2 kB / 0.9875 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.2518, allocations: 256.8 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.2521, allocations: 159.9 kB / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2521, allocations: 0 / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006997/0.2528, allocations: 0.5014 MB / 0.9884 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2528, allocations: 8 kB / 0.9884 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2528, allocations: 4 kB / 0.9884 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2529, allocations: 4 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.2532, allocations: 103.8 kB / 0.9885 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.2533, allocations: 8 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.2536, allocations: 71.59 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.2536, allocations: 20 kB / 0.9886 GB, free: 17.96 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.0001979/0.2538, allocations: 164.9 kB / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.2539, allocations: 31.67 kB / 0.9888 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.439e-05/0.2539, allocations: 33.81 kB / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.254, allocations: 8 kB / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.254, allocations: 0 / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.254, allocations: 3.984 kB / 0.9888 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.2544, allocations: 357.2 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2544, allocations: 0 / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.2548, allocations: 83.89 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2548, allocations: 4 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.2549, allocations: 11.95 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2549, allocations: 0 / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2549, allocations: 4 kB / 0.9893 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009152/0.2558, allocations: 0.594 MB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2559, allocations: 108.7 kB / 0.99 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.2559, allocations: 12 kB / 0.99 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.2561, allocations: 48.11 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.2563, allocations: 39.94 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.2563, allocations: 19.94 kB / 0.9901 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.2564, allocations: 133.1 kB / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2564, allocations: 0 / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000292/0.2567, allocations: 76 kB / 0.9903 GB, free: 16.15 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.001095/0.2578, allocations: 1.159 MB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006753/0.2585, allocations: 394.7 kB / 0.9918 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2585, allocations: 0 / 0.9918 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.2588, allocations: 184.6 kB / 0.992 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2591, allocations: 45.94 kB / 0.992 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.2614, allocations: 1.866 MB / 0.9938 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2616, allocations: 0.7725 MB / 0.9946 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.2618, allocations: 39.14 kB / 0.9946 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2619, allocations: 91.39 kB / 0.9947 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2619, allocations: 0 / 0.9947 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.2772, allocations: 5.56 MB / 1 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.2774, allocations: 205 kB / 1 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.288, allocations: 0 / 1 GB, free: 5.883 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)