Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007405/0.0007406, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.0007609/0.0007611, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.534/1.534, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005032/0.0005032, allocations: 21.78 kB / 0.6738 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2004, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001694/0.2022, allocations: 1.626 MB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008101/0.203, allocations: 0.6558 MB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.203, allocations: 0 / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.2031, allocations: 11.86 kB / 0.7897 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.2032, allocations: 35.7 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.2035, allocations: 115.8 kB / 0.7898 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.2038, allocations: 299.1 kB / 0.7901 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2039, allocations: 32.39 kB / 0.7901 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.204, allocations: 111.6 kB / 0.7902 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2042, allocations: 131.5 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.2042, allocations: 16 kB / 0.7904 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.978e-05/0.2043, allocations: 16 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.2043, allocations: 59.8 kB / 0.7904 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.2044, allocations: 65.58 kB / 0.7905 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2045, allocations: 207.7 kB / 0.7907 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2046, allocations: 0 / 0.7907 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2046, allocations: 0 / 0.7907 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.2046, allocations: 0 / 0.7907 GB, free: 8.449 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.0009851/0.2056, allocations: 0.6157 MB / 0.7913 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2056, allocations: 12.03 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.2057, allocations: 50.55 kB / 0.7914 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.2057, allocations: 35.72 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2059, allocations: 195.5 kB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.2061, allocations: 267.8 kB / 0.7918 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.2061, allocations: 35.89 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.2065, allocations: 261.8 kB / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2066, allocations: 7.938 kB / 0.7921 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2066, allocations: 7.984 kB / 0.7921 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2066, allocations: 4 kB / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.207, allocations: 190.7 kB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.2079, allocations: 0.7856 MB / 0.7931 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.2084, allocations: 212.2 kB / 0.7933 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.2086, allocations: 137.3 kB / 0.7934 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.2087, allocations: 16.08 kB / 0.7934 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/0.2092, allocations: 319.6 kB / 0.7937 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.563e-06/0.2092, allocations: 0 / 0.7937 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009475/0.2101, allocations: 497.2 kB / 0.7942 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.2102, allocations: 122.8 kB / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2104, allocations: 172.6 kB / 0.7945 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.2104, allocations: 41.7 kB / 0.7945 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.2105, allocations: 121.2 kB / 0.7947 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.2106, allocations: 138 kB / 0.7948 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.2106, allocations: 16 kB / 0.7948 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2108, allocations: 342.8 kB / 0.7951 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.2111, allocations: 153.2 kB / 0.7953 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.2114, allocations: 260.7 kB / 0.7955 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.2117, allocations: 164 kB / 0.7957 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2117, allocations: 0 / 0.7957 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007424/0.2125, allocations: 0.5007 MB / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2125, allocations: 8 kB / 0.7962 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2125, allocations: 0 / 0.7962 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2125, allocations: 8 kB / 0.7962 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.2129, allocations: 95.83 kB / 0.7963 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2129, allocations: 11.98 kB / 0.7963 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.2131, allocations: 75.59 kB / 0.7964 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.2132, allocations: 20 kB / 0.7964 GB, free: 2.25 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 ($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.0001394/0.2133, allocations: 160 kB / 0.7965 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.2134, allocations: 35.59 kB / 0.7966 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.2135, allocations: 33.88 kB / 0.7966 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2135, allocations: 8 kB / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2135, allocations: 0 / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2135, allocations: 3.984 kB / 0.7966 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.2138, allocations: 345.2 kB / 0.7969 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2138, allocations: 0 / 0.7969 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.2142, allocations: 79.89 kB / 0.797 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2142, allocations: 4 kB / 0.797 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.2142, allocations: 15.94 kB / 0.797 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2143, allocations: 4 kB / 0.797 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.2143, allocations: 7.938 kB / 0.797 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.2153, allocations: 0.5902 MB / 0.7976 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.2153, allocations: 104.7 kB / 0.7977 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.2154, allocations: 15.98 kB / 0.7977 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2156, allocations: 47.92 kB / 0.7978 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.2157, allocations: 40.12 kB / 0.7978 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.2157, allocations: 12.09 kB / 0.7978 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.2158, allocations: 133 kB / 0.798 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2158, allocations: 7.938 kB / 0.798 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002925/0.2161, allocations: 79.98 kB / 0.798 GB, free: 456 kB / 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 (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.001165/0.2173, allocations: 1.155 MB / 0.7992 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006219/0.2179, allocations: 400.7 kB / 0.7996 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2179, allocations: 0 / 0.7996 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.2183, allocations: 179.8 kB / 0.7997 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.2186, allocations: 52.05 kB / 0.7998 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.221, allocations: 1.859 MB / 0.8016 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2212, allocations: 0.7763 MB / 0.8023 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.2214, allocations: 39.14 kB / 0.8024 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2215, allocations: 87.41 kB / 0.8025 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2215, allocations: 0 / 0.8025 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.2362, allocations: 5.533 MB / 0.8079 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.2364, allocations: 198.9 kB / 0.8081 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.193, allocations: 4 kB / 0.8081 GB, free: 6.148 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1) Environment - environmentSimulation: