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.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00138/0.00138, allocations: 194.2 kB / 16.13 MB, free: 6.664 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.268/1.268, allocations: 205.1 MB / 222 MB, free: 4.719 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.555/1.555, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001309/0.001309, allocations: 72.56 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2133, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003095/0.2164, allocations: 2.029 MB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2175, allocations: 0.6826 MB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.2176, allocations: 0 / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.698e-05/0.2176, allocations: 7.875 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2177, allocations: 39.69 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.2181, allocations: 135.8 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.2185, allocations: 311.1 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.2186, allocations: 44.38 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.2188, allocations: 111.7 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.219, allocations: 139.4 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.219, allocations: 24 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.066e-05/0.2191, allocations: 16 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.2191, allocations: 67.78 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2193, allocations: 123.4 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.2195, allocations: 287.3 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2196, allocations: 0 / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2196, allocations: 0 / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2196, allocations: 0 / 0.7867 GB, free: 9.867 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.001156/0.2207, allocations: 0.6276 MB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2208, allocations: 12.03 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.843e-05/0.2209, allocations: 54.67 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.2209, allocations: 36.66 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.2211, allocations: 204.8 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.2213, allocations: 264.3 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.2213, allocations: 32.28 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.2218, allocations: 261.6 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.2218, allocations: 7.938 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.2219, allocations: 8 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2219, allocations: 4 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.2223, allocations: 175.9 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2233, allocations: 0.7815 MB / 0.7891 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.2238, allocations: 203.7 kB / 0.7893 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.2241, allocations: 134.5 kB / 0.7894 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.2241, allocations: 12.36 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/0.2247, allocations: 319.2 kB / 0.7897 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.814e-06/0.2247, allocations: 0 / 0.7897 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009724/0.2257, allocations: 480.2 kB / 0.7902 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.2258, allocations: 114.8 kB / 0.7903 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.2259, allocations: 176.6 kB / 0.7905 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.226, allocations: 45.69 kB / 0.7905 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.2261, allocations: 117.2 kB / 0.7906 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.2262, allocations: 153.9 kB / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.2263, allocations: 102.3 kB / 0.7909 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2265, allocations: 338.8 kB / 0.7912 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.2268, allocations: 149.2 kB / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.2271, allocations: 256.7 kB / 0.7916 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.2277, allocations: 394.1 kB / 0.792 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2278, allocations: 3.938 kB / 0.792 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007913/0.2286, allocations: 488.8 kB / 0.7924 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2286, allocations: 8 kB / 0.7924 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.2286, allocations: 8 kB / 0.7924 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2286, allocations: 7.938 kB / 0.7925 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.229, allocations: 99.89 kB / 0.7925 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.229, allocations: 11.98 kB / 0.7926 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.2293, allocations: 51.66 kB / 0.7926 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.2294, allocations: 20 kB / 0.7926 GB, free: 3.379 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.0001547/0.2295, allocations: 160 kB / 0.7928 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.2296, allocations: 35.64 kB / 0.7928 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.468e-05/0.2297, allocations: 29.88 kB / 0.7928 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2297, allocations: 4 kB / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2297, allocations: 0 / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2297, allocations: 7.984 kB / 0.7929 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.23, allocations: 349.2 kB / 0.7932 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2301, allocations: 7.922 kB / 0.7932 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.2305, allocations: 67.91 kB / 0.7933 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2305, allocations: 0 / 0.7933 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.2305, allocations: 19.98 kB / 0.7933 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2305, allocations: 4.703 kB / 0.7933 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2305, allocations: 0 / 0.7933 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009821/0.2315, allocations: 0.5861 MB / 0.7939 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.2316, allocations: 108.8 kB / 0.794 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.2316, allocations: 11.98 kB / 0.794 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.2319, allocations: 31.95 kB / 0.794 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.232, allocations: 55.92 kB / 0.7941 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.232, allocations: 16 kB / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.972e-05/0.2321, allocations: 129.1 kB / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.273e-06/0.2321, allocations: 96 / 0.7942 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003071/0.2325, allocations: 91.84 kB / 0.7943 GB, free: 1.586 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.001308/0.2338, allocations: 1.145 MB / 0.7954 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00071/0.2345, allocations: 392.3 kB / 0.7958 GB, free: 28 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2345, allocations: 0 / 0.7958 GB, free: 28 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.2349, allocations: 199.9 kB / 0.796 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2353, allocations: 43.33 kB / 0.796 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.2392, allocations: 3.239 MB / 0.7992 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2396, allocations: 0.7647 MB / 0.7999 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000168/0.2397, allocations: 46.89 kB / 0.8 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.2399, allocations: 83.41 kB / 0.8 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.2399, allocations: 0 / 0.8 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2634/0.5033, allocations: 5.887 MB / 0.8058 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.5036, allocations: 207.3 kB / 0.806 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.515, allocations: 0 / 0.806 GB, free: 5.457 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/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)