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 2.751/2.751, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001589/0.001589, allocations: 179.5 kB / 370.8 MB, free: 10.86 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.096/2.096, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.0011/0.001101, allocations: 85.86 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007183/0.0007184, allocations: 13.78 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.222, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002191/0.2242, allocations: 1.61 MB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2255, allocations: 0.6559 MB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2257, allocations: 0 / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.2257, allocations: 15.8 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.2259, allocations: 39.91 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.2264, allocations: 127.7 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.2267, allocations: 191.6 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.2268, allocations: 44.38 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.227, allocations: 107.7 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2272, allocations: 127.5 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.2273, allocations: 16 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.2274, allocations: 16 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.2274, allocations: 63.73 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.989e-05/0.2275, allocations: 65.58 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.2278, allocations: 211.7 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2278, allocations: 0 / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2278, allocations: 0 / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2279, allocations: 0 / 0.9815 GB, free: 24.98 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.001605/0.2295, allocations: 0.6118 MB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2295, allocations: 8.031 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.941e-05/0.2296, allocations: 54.55 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.2297, allocations: 35.67 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2299, allocations: 207.5 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.2301, allocations: 259.8 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.2302, allocations: 31.91 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.2309, allocations: 261.7 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.2309, allocations: 11.94 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.231, allocations: 7.984 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.231, allocations: 4 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.2317, allocations: 183.9 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.2332, allocations: 0.7856 MB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.2339, allocations: 212.5 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.431e-05/0.234, allocations: 12.19 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007354/0.2347, allocations: 315.6 kB / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.895e-06/0.2347, allocations: 0 / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001611/0.2364, allocations: 0.4921 MB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.2364, allocations: 118.8 kB / 0.985 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2366, allocations: 171.5 kB / 0.9851 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.2367, allocations: 41.7 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.2368, allocations: 117.2 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.2369, allocations: 153.9 kB / 0.9854 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.237, allocations: 8 kB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.2371, allocations: 342.8 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.2375, allocations: 153.2 kB / 0.9859 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.2381, allocations: 256.7 kB / 0.9862 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.2386, allocations: 164 kB / 0.9863 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2387, allocations: 4 kB / 0.9863 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001335/0.24, allocations: 0.4891 MB / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.24, allocations: 4 kB / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2401, allocations: 4 kB / 0.9868 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.2401, allocations: 15.98 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.2408, allocations: 95.83 kB / 0.9869 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.2408, allocations: 7.938 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.2413, allocations: 75.59 kB / 0.987 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.2414, allocations: 20 kB / 0.987 GB, free: 18.93 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.0002138/0.2416, allocations: 164 kB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.2417, allocations: 27.67 kB / 0.9872 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.015e-05/0.2418, allocations: 29.88 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.2418, allocations: 4 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2418, allocations: 3.984 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2418, allocations: 4 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.2422, allocations: 353.2 kB / 0.9876 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2423, allocations: 4 kB / 0.9876 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.2431, allocations: 75.89 kB / 0.9877 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.2431, allocations: 4 kB / 0.9877 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.2431, allocations: 19.89 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.2432, allocations: 4 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2432, allocations: 0 / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.2448, allocations: 0.6248 MB / 0.9883 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.2449, allocations: 112.8 kB / 0.9884 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.245, allocations: 8 kB / 0.9884 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.2454, allocations: 47.95 kB / 0.9885 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.2456, allocations: 39.94 kB / 0.9885 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.2456, allocations: 15.98 kB / 0.9885 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001012/0.2458, allocations: 129.2 kB / 0.9886 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2458, allocations: 0 / 0.9886 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004686/0.2462, allocations: 76 kB / 0.9887 GB, free: 17.1 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.001967/0.2482, allocations: 1.324 MB / 0.99 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.2495, allocations: 404.6 kB / 0.9904 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2495, allocations: 0 / 0.9904 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.2503, allocations: 183.8 kB / 0.9906 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.2509, allocations: 32.17 kB / 0.9906 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.2534, allocations: 2.694 MB / 0.9932 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.2536, allocations: 0.7764 MB / 0.994 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000311/0.254, allocations: 34.97 kB / 0.994 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.2542, allocations: 87.39 kB / 0.9941 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.463e-06/0.2542, allocations: 0 / 0.9941 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.2862, allocations: 5.441 MB / 0.9994 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.2865, allocations: 205.1 kB / 0.9996 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.009, allocations: 0 / 0.9996 GB, free: 5.938 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)