Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.262/1.262, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 161.8 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007396/0.0007396, allocations: 82.97 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 18.92 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1671, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.001648/0.1687, allocations: 1.775 MB / 0.898 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007443/0.1695, allocations: 0.6862 MB / 0.8986 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.1696, allocations: 0 / 0.8986 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.1696, allocations: 15.8 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.267e-05/0.1697, allocations: 43.62 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.17, allocations: 135.8 kB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1702, allocations: 311.1 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1703, allocations: 44.39 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1704, allocations: 111.7 kB / 0.8993 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1706, allocations: 135.4 kB / 0.8994 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.1706, allocations: 12 kB / 0.8994 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.1706, allocations: 16 kB / 0.8994 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.1707, allocations: 55.8 kB / 0.8995 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.1707, allocations: 127.3 kB / 0.8996 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1709, allocations: 282.9 kB / 0.8999 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1709, allocations: 4 kB / 0.8999 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1709, allocations: 0 / 0.8999 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.1709, allocations: 0 / 0.8999 GB, free: 64.31 MB / 0.6042 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.0008662/0.1718, allocations: 0.5966 MB / 0.9004 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1719, allocations: 8.031 kB / 0.9004 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.1719, allocations: 58.73 kB / 0.9005 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.172, allocations: 32.56 kB / 0.9005 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.189e-05/0.172, allocations: 208.7 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1722, allocations: 268.3 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.1722, allocations: 32.36 kB / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.1726, allocations: 261.7 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1726, allocations: 8 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1726, allocations: 7.984 kB / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1726, allocations: 11.94 kB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.173, allocations: 183.8 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000749/0.1737, allocations: 0.7816 MB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.1741, allocations: 211.8 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.1743, allocations: 154.4 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.1744, allocations: 4.375 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.1748, allocations: 319.2 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.723e-06/0.1748, allocations: 0 / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0007782/0.1756, allocations: 0.4961 MB / 0.9034 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1756, allocations: 114.8 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.1757, allocations: 183.4 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1757, allocations: 37.7 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.1758, allocations: 113.3 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.1759, allocations: 153.9 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.1759, allocations: 61.67 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.176, allocations: 346.8 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.1762, allocations: 149.2 kB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.1765, allocations: 264.7 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.177, allocations: 402.1 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.177, allocations: 0 / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006236/0.1776, allocations: 0.4973 MB / 0.9056 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1776, allocations: 8 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1776, allocations: 4 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1777, allocations: 7.938 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.178, allocations: 95.83 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.178, allocations: 15.94 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1782, allocations: 67.66 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.1783, allocations: 23.98 kB / 0.9058 GB, free: 57.77 MB / 0.6042 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.0001079/0.1784, allocations: 160 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1784, allocations: 35.56 kB / 0.906 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.1785, allocations: 33.86 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1785, allocations: 8 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1785, allocations: 0 / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1785, allocations: 0 / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1787, allocations: 349.2 kB / 0.9064 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1787, allocations: 3.938 kB / 0.9064 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.1791, allocations: 79.89 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1791, allocations: 8 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.1791, allocations: 11.98 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1791, allocations: 0 / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1791, allocations: 4 kB / 0.9065 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.18, allocations: 0.5979 MB / 0.9071 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.18, allocations: 104.7 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.18, allocations: 12 kB / 0.9072 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1802, allocations: 55.95 kB / 0.9072 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1803, allocations: 55.92 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1804, allocations: 12 kB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.271e-05/0.1804, allocations: 125.2 kB / 0.9074 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1804, allocations: 4 kB / 0.9074 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002495/0.1807, allocations: 83.92 kB / 0.9075 GB, free: 55.95 MB / 0.6042 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.0009368/0.1816, allocations: 1.159 MB / 0.9086 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.1822, allocations: 402.9 kB / 0.909 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1822, allocations: 0 / 0.909 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.1825, allocations: 208.8 kB / 0.9092 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1828, allocations: 44.12 kB / 0.9093 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.1856, allocations: 3.269 MB / 0.9124 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.1857, allocations: 0.7647 MB / 0.9132 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.1859, allocations: 39.14 kB / 0.9132 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.186, allocations: 87.41 kB / 0.9133 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.186, allocations: 3.938 kB / 0.9133 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1905/0.3765, allocations: 5.805 MB / 0.919 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.3767, allocations: 227.2 kB / 0.9192 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.553, allocations: 4 kB / 0.9192 GB, free: 43.9 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)