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.742/2.742, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.001554/0.001554, allocations: 184.6 kB / 370.8 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 2.134/2.134, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001178/0.001178, allocations: 97.66 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000644/0.000644, allocations: 17.86 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2264, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002249/0.2287, allocations: 1.61 MB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2301, allocations: 0.6559 MB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.2303, allocations: 4 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.2303, allocations: 11.81 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2305, allocations: 39.91 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.231, allocations: 123.7 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2312, allocations: 191.6 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2314, allocations: 32.39 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.2316, allocations: 111.7 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.2318, allocations: 127.5 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.2319, allocations: 16 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.513e-05/0.2319, allocations: 19.94 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.232, allocations: 55.81 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.2321, allocations: 69.58 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.2324, allocations: 215.7 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2324, allocations: 0 / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2324, allocations: 0 / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2324, allocations: 0 / 0.9815 GB, free: 24.97 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.001543/0.2339, allocations: 0.6118 MB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.234, allocations: 16.02 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.495e-05/0.2341, allocations: 54.55 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.2342, allocations: 31.67 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2343, allocations: 203.5 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.2345, allocations: 267.8 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.2346, allocations: 31.91 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.2353, allocations: 257.8 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.2354, allocations: 7.922 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.2354, allocations: 12 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2354, allocations: 4 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.2361, allocations: 185.2 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.2376, allocations: 0.7817 MB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/0.2383, allocations: 216.5 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.2384, allocations: 8.188 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007534/0.2392, allocations: 319.6 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 4.218e-06/0.2392, allocations: 0 / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001601/0.2408, allocations: 0.4941 MB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.2409, allocations: 122.8 kB / 0.985 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.2411, allocations: 171.5 kB / 0.9852 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.2412, allocations: 37.7 kB / 0.9852 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.2412, allocations: 121.2 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.2414, allocations: 145.9 kB / 0.9854 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.2414, allocations: 16 kB / 0.9855 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.2415, allocations: 338.8 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.242, allocations: 157.2 kB / 0.9859 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.2426, allocations: 252.7 kB / 0.9862 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.2431, allocations: 160 kB / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.2431, allocations: 4 kB / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00129/0.2444, allocations: 0.4933 MB / 0.9868 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2444, allocations: 4 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2445, allocations: 4 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.2445, allocations: 4 kB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.2452, allocations: 107.8 kB / 0.9869 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.2453, allocations: 7.938 kB / 0.9869 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.2457, allocations: 71.59 kB / 0.987 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.2458, allocations: 23.94 kB / 0.987 GB, free: 18.92 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.0002163/0.246, allocations: 162 kB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.2461, allocations: 39.75 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.132e-05/0.2462, allocations: 29.88 kB / 0.9872 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.2462, allocations: 4 kB / 0.9873 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.2462, allocations: 64 / 0.9873 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.2462, allocations: 11.98 kB / 0.9873 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.2467, allocations: 349.2 kB / 0.9876 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2467, allocations: 4 kB / 0.9876 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.2475, allocations: 75.91 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.2475, allocations: 7.984 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.2476, allocations: 11.95 kB / 0.9877 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.2476, allocations: 4 kB / 0.9877 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2476, allocations: 0 / 0.9877 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.2492, allocations: 0.6247 MB / 0.9883 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.2493, allocations: 104.7 kB / 0.9884 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/0.2494, allocations: 11.98 kB / 0.9884 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.2498, allocations: 43.97 kB / 0.9885 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.25, allocations: 39.94 kB / 0.9885 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.25, allocations: 16 kB / 0.9885 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001001/0.2501, allocations: 129.1 kB / 0.9886 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2502, allocations: 0 / 0.9886 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004792/0.2506, allocations: 80 kB / 0.9887 GB, free: 17.08 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.001907/0.2526, allocations: 1.319 MB / 0.99 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.2538, allocations: 400.2 kB / 0.9904 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2538, allocations: 0 / 0.9904 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.2544, allocations: 183.8 kB / 0.9906 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.2548, allocations: 32.53 kB / 0.9906 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.2569, allocations: 2.69 MB / 0.9932 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.2572, allocations: 0.7764 MB / 0.994 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002931/0.2575, allocations: 39.16 kB / 0.994 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.2578, allocations: 83.41 kB / 0.9941 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.183e-06/0.2578, allocations: 0 / 0.9941 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.2837, allocations: 5.43 MB / 0.9994 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.284, allocations: 190.4 kB / 0.9996 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/2.995, allocations: 5.766 kB / 0.9996 GB, free: 5.91 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)