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.001068/0.001068, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.328/1.328, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.625/1.625, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.001454/0.001454, allocations: 72 kB / 0.6716 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1969, allocations: 114.5 MB / 0.7835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002768/0.1997, allocations: 1.971 MB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000913/0.2006, allocations: 0.6914 MB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.2007, allocations: 0 / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.2008, allocations: 19.73 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2009, allocations: 43.58 kB / 0.7862 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.2013, allocations: 155.7 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2016, allocations: 323.1 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2017, allocations: 44.38 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2019, allocations: 123.7 kB / 0.7868 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.2021, allocations: 163.3 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.2021, allocations: 28 kB / 0.787 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.41e-05/0.2022, allocations: 32 kB / 0.787 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.2022, allocations: 75.78 kB / 0.7871 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.2023, allocations: 127.4 kB / 0.7872 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.2026, allocations: 307.3 kB / 0.7875 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2026, allocations: 0 / 0.7875 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2026, allocations: 0 / 0.7875 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2026, allocations: 0 / 0.7875 GB, free: 9.363 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.001131/0.2038, allocations: 0.6236 MB / 0.7881 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2038, allocations: 12.03 kB / 0.7881 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.2039, allocations: 58.72 kB / 0.7881 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.204, allocations: 28.66 kB / 0.7882 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2041, allocations: 204.7 kB / 0.7884 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.2043, allocations: 264.3 kB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.2044, allocations: 36.27 kB / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.2048, allocations: 265.6 kB / 0.7889 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2048, allocations: 4 kB / 0.7889 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.2049, allocations: 8 kB / 0.7889 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2049, allocations: 7.984 kB / 0.7889 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.2053, allocations: 180.5 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/0.2063, allocations: 0.7776 MB / 0.7899 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.2067, allocations: 207.7 kB / 0.7901 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.207, allocations: 130.5 kB / 0.7902 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.207, allocations: 16.3 kB / 0.7902 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.2075, allocations: 311.2 kB / 0.7905 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.2076, allocations: 0 / 0.7905 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009637/0.2085, allocations: 484.6 kB / 0.791 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.2086, allocations: 118.8 kB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2087, allocations: 176.6 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.2088, allocations: 41.7 kB / 0.7913 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.2088, allocations: 113.2 kB / 0.7914 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.209, allocations: 153.9 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.2091, allocations: 110.3 kB / 0.7916 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2092, allocations: 338.8 kB / 0.792 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.2095, allocations: 149.2 kB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.2098, allocations: 248.8 kB / 0.7923 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.2104, allocations: 402 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.2104, allocations: 0 / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007808/0.2112, allocations: 0.4935 MB / 0.7932 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2112, allocations: 4 kB / 0.7932 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2113, allocations: 4 kB / 0.7932 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.2113, allocations: 8 kB / 0.7932 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.2117, allocations: 91.83 kB / 0.7933 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2117, allocations: 7.938 kB / 0.7933 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.212, allocations: 59.66 kB / 0.7934 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.212, allocations: 23.98 kB / 0.7934 GB, free: 2.867 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.0001492/0.2122, allocations: 164 kB / 0.7936 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.2122, allocations: 27.66 kB / 0.7936 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.2123, allocations: 33.86 kB / 0.7936 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2123, allocations: 8 kB / 0.7936 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2123, allocations: 0 / 0.7936 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2123, allocations: 0 / 0.7936 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.2126, allocations: 349.2 kB / 0.794 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2126, allocations: 3.938 kB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.213, allocations: 79.95 kB / 0.794 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2131, allocations: 8 kB / 0.794 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.2131, allocations: 15.98 kB / 0.7941 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2131, allocations: 4 kB / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2131, allocations: 0 / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.2141, allocations: 0.5861 MB / 0.7946 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.2141, allocations: 104.7 kB / 0.7947 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.2142, allocations: 12 kB / 0.7947 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2144, allocations: 31.95 kB / 0.7948 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.2145, allocations: 55.94 kB / 0.7948 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.2146, allocations: 19.98 kB / 0.7948 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.468e-05/0.2147, allocations: 129.2 kB / 0.795 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2147, allocations: 0 / 0.795 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002981/0.215, allocations: 79.91 kB / 0.795 GB, free: 1.074 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.001255/0.2162, allocations: 1.151 MB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007104/0.217, allocations: 398.6 kB / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.217, allocations: 0 / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.2173, allocations: 210.6 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2176, allocations: 38.41 kB / 0.7968 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.2213, allocations: 3.167 MB / 0.7999 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2215, allocations: 0.7686 MB / 0.8006 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.2217, allocations: 47.08 kB / 0.8007 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.2219, allocations: 91.41 kB / 0.8008 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.2219, allocations: 0 / 0.8008 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.2461, allocations: 6.581 MB / 0.8072 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.581, allocations: 5.375 kB / 0.8072 GB, free: 4.578 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)