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 2.797/2.797, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.00135/0.00135, allocations: 184.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.0009885/0.0009882, allocations: 90.25 kB / 0.743 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 13.22 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002199/0.2253, allocations: 1.61 MB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2266, allocations: 0.6597 MB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2267, allocations: 4 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.2268, allocations: 15.8 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.2269, allocations: 31.7 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.2274, allocations: 115.8 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.2278, allocations: 295.1 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.228, allocations: 32.39 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.2282, allocations: 111.7 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.2285, allocations: 135.5 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.2285, allocations: 15.94 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.367e-05/0.2286, allocations: 16 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.2287, allocations: 59.8 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.2288, allocations: 69.58 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.2291, allocations: 207.7 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2291, allocations: 4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2291, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2291, allocations: 0 / 0.9818 GB, free: 24.84 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.001562/0.2307, allocations: 0.6119 MB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.2307, allocations: 12.02 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.109e-05/0.2308, allocations: 54.55 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.413e-05/0.2309, allocations: 31.67 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2311, allocations: 203.5 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.2313, allocations: 271.8 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.2314, allocations: 31.84 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.2321, allocations: 261.8 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.2321, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.2321, allocations: 12 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2322, allocations: 4 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.2329, allocations: 189.1 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.2343, allocations: 0.7816 MB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.235, allocations: 212.2 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.2354, allocations: 138.9 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.134e-05/0.2354, allocations: 8.188 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007349/0.2362, allocations: 315.6 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.885e-06/0.2362, allocations: 0 / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001533/0.2378, allocations: 0.4939 MB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.2378, allocations: 118.7 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.238, allocations: 179.5 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.2381, allocations: 37.7 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.2381, allocations: 121.2 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2383, allocations: 146 kB / 0.9858 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2383, allocations: 16 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.2384, allocations: 342.8 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.2389, allocations: 145.2 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/0.2395, allocations: 260.8 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.24, allocations: 171.9 kB / 0.9867 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.24, allocations: 0 / 0.9867 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0013/0.2413, allocations: 0.4931 MB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2414, allocations: 8 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2414, allocations: 4.062 kB / 0.9872 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.2414, allocations: 8 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.2421, allocations: 95.83 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.2421, allocations: 4 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.2426, allocations: 79.58 kB / 0.9874 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.2426, allocations: 23.94 kB / 0.9874 GB, free: 18.64 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.0002082/0.2429, allocations: 160 kB / 0.9876 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.2429, allocations: 31.67 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.58e-05/0.243, allocations: 33.86 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.243, allocations: 4 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.2431, allocations: 8 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2431, allocations: 3.984 kB / 0.9877 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.2435, allocations: 353.2 kB / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2435, allocations: 0 / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/0.2443, allocations: 79.89 kB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.2443, allocations: 3.953 kB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.2444, allocations: 11.98 kB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2444, allocations: 4 kB / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2444, allocations: 0 / 0.9881 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.2461, allocations: 0.6027 MB / 0.9887 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.2461, allocations: 104.7 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.2462, allocations: 15.95 kB / 0.9888 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.2466, allocations: 43.95 kB / 0.9888 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.2468, allocations: 35.95 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.2468, allocations: 19.98 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000101/0.247, allocations: 125.2 kB / 0.989 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.247, allocations: 0 / 0.989 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004329/0.2474, allocations: 83.98 kB / 0.9891 GB, free: 16.84 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.001868/0.2493, allocations: 1.157 MB / 0.9902 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.2505, allocations: 396.2 kB / 0.9906 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2505, allocations: 0 / 0.9906 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.2511, allocations: 191.7 kB / 0.9908 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.2515, allocations: 44.11 kB / 0.9908 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.2554, allocations: 1.877 MB / 0.9927 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2557, allocations: 0.7647 MB / 0.9934 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.256, allocations: 43.12 kB / 0.9934 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.2563, allocations: 91.41 kB / 0.9935 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2563, allocations: 0 / 0.9935 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.2837, allocations: 5.536 MB / 0.9989 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.284, allocations: 199.8 kB / 0.9991 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.27, allocations: 0 / 0.9991 GB, free: 6.555 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)