Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 196 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 222 MB, free: 4.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.554/1.554, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 70.67 kB / 0.6709 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2123, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003114/0.2155, allocations: 2.03 MB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2165, allocations: 0.6788 MB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.2166, allocations: 0 / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.548e-05/0.2166, allocations: 11.86 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2168, allocations: 39.64 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2171, allocations: 131.8 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.2174, allocations: 311 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2175, allocations: 44.39 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.2177, allocations: 115.7 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.2179, allocations: 139.4 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.2179, allocations: 20 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.854e-05/0.218, allocations: 16 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.2181, allocations: 71.72 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2182, allocations: 123.4 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.2184, allocations: 291.3 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2184, allocations: 0 / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2184, allocations: 0 / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2184, allocations: 4 kB / 0.7867 GB, free: 9.871 MB / 0.6075 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.001191/0.2196, allocations: 0.6198 MB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2197, allocations: 12.03 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/0.2198, allocations: 54.67 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.2198, allocations: 32.66 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.22, allocations: 204.7 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.2202, allocations: 272.3 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.2203, allocations: 32.28 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.2207, allocations: 257.7 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2207, allocations: 4 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.2208, allocations: 11.97 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.2208, allocations: 4 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.2212, allocations: 180.5 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2223, allocations: 0.7814 MB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.2228, allocations: 199.7 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.223, allocations: 138.5 kB / 0.7894 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.2231, allocations: 8.312 kB / 0.7894 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006291/0.2237, allocations: 319.2 kB / 0.7897 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.673e-06/0.2237, allocations: 0 / 0.7897 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009514/0.2247, allocations: 481.5 kB / 0.7902 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.2248, allocations: 118.8 kB / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2249, allocations: 172.6 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.225, allocations: 41.7 kB / 0.7905 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.2251, allocations: 121.2 kB / 0.7906 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2253, allocations: 149.9 kB / 0.7908 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.2254, allocations: 110.3 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2255, allocations: 346.7 kB / 0.7912 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.2258, allocations: 145.2 kB / 0.7913 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.2261, allocations: 256.7 kB / 0.7916 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.2268, allocations: 394.1 kB / 0.792 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2268, allocations: 0 / 0.792 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008588/0.2276, allocations: 489 kB / 0.7924 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2277, allocations: 8 kB / 0.7924 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2277, allocations: 4 kB / 0.7924 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.2277, allocations: 4 kB / 0.7924 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.2281, allocations: 103.8 kB / 0.7925 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2281, allocations: 7.938 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.2284, allocations: 55.66 kB / 0.7926 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.2284, allocations: 20 kB / 0.7926 GB, free: 3.391 MB / 0.6075 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.2286, allocations: 164 kB / 0.7928 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.2286, allocations: 31.66 kB / 0.7928 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.2287, allocations: 33.88 kB / 0.7928 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.2287, allocations: 4 kB / 0.7929 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2287, allocations: 0 / 0.7929 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2287, allocations: 7.984 kB / 0.7929 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.229, allocations: 349.2 kB / 0.7932 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.229, allocations: 3.938 kB / 0.7932 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.2295, allocations: 83.89 kB / 0.7933 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2295, allocations: 0 / 0.7933 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.2295, allocations: 12 kB / 0.7933 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2295, allocations: 4 kB / 0.7933 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2295, allocations: 0 / 0.7933 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009736/0.2305, allocations: 0.5784 MB / 0.7939 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.2306, allocations: 108.7 kB / 0.794 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.2306, allocations: 12 kB / 0.794 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2308, allocations: 31.97 kB / 0.794 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.231, allocations: 55.92 kB / 0.7941 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.231, allocations: 19.98 kB / 0.7941 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.894e-05/0.2311, allocations: 125.2 kB / 0.7942 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2311, allocations: 0 / 0.7942 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002989/0.2314, allocations: 83.91 kB / 0.7943 GB, free: 1.605 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.2328, allocations: 1.155 MB / 0.7954 GB, free: 424 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006565/0.2335, allocations: 392.5 kB / 0.7958 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2335, allocations: 0 / 0.7958 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.2339, allocations: 197.5 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2342, allocations: 47.91 kB / 0.796 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.2382, allocations: 3.231 MB / 0.7992 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.2386, allocations: 0.7686 MB / 0.7999 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000166/0.2387, allocations: 43.14 kB / 0.8 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.2389, allocations: 83.41 kB / 0.8 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.2389, allocations: 0 / 0.8 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5087/0.7477, allocations: 5.917 MB / 0.8058 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.7479, allocations: 222.7 kB / 0.806 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.811, allocations: 0 / 0.806 GB, free: 5.492 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)