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.001429/0.001429, allocations: 105.4 kB / 15.7 MB, free: 24 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.002046/0.002046, allocations: 187.5 kB / 16.64 MB, free: 6.594 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.846/1.846, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001489/0.001489, allocations: 72.72 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2817, allocations: 114.6 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003484/0.2852, allocations: 1.964 MB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2865, allocations: 0.6875 MB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.2866, allocations: 0 / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.01e-05/0.2866, allocations: 19.73 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2868, allocations: 39.58 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.2872, allocations: 163.7 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.2876, allocations: 331 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2877, allocations: 40.39 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2879, allocations: 127.7 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2881, allocations: 155.3 kB / 0.7871 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.2881, allocations: 28 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.861e-05/0.2882, allocations: 32 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.2883, allocations: 79.73 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.2884, allocations: 135.3 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.2887, allocations: 307.2 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.2887, allocations: 3.984 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2887, allocations: 0 / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2887, allocations: 0 / 0.7876 GB, free: 9.152 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.00115/0.2899, allocations: 0.6197 MB / 0.7883 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.2899, allocations: 12.03 kB / 0.7883 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.906e-05/0.29, allocations: 62.73 kB / 0.7883 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.2901, allocations: 28.66 kB / 0.7883 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.2902, allocations: 200.8 kB / 0.7885 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.2905, allocations: 260.3 kB / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.2905, allocations: 36.28 kB / 0.7888 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.291, allocations: 261.6 kB / 0.7891 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.291, allocations: 0 / 0.7891 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.2911, allocations: 15.98 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2911, allocations: 8 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.2915, allocations: 167.8 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.2926, allocations: 0.7853 MB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.2931, allocations: 207.9 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2934, allocations: 138.5 kB / 0.7904 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.2934, allocations: 8.312 kB / 0.7904 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005866/0.294, allocations: 319.2 kB / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.774e-06/0.294, allocations: 0 / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001003/0.295, allocations: 480.5 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.2951, allocations: 118.8 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.2953, allocations: 176.6 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.2954, allocations: 37.7 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.2954, allocations: 125.2 kB / 0.7916 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2956, allocations: 153.9 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.2957, allocations: 106.3 kB / 0.7918 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2959, allocations: 338.8 kB / 0.7921 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.2962, allocations: 153.2 kB / 0.7923 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.2965, allocations: 248.8 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.2971, allocations: 398 kB / 0.7929 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2972, allocations: 0 / 0.7929 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008953/0.2981, allocations: 492.8 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2981, allocations: 8 kB / 0.7934 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2981, allocations: 4 kB / 0.7934 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2981, allocations: 4 kB / 0.7934 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.2985, allocations: 107.8 kB / 0.7935 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2985, allocations: 4 kB / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.2988, allocations: 51.66 kB / 0.7935 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.2988, allocations: 20 kB / 0.7936 GB, free: 2.668 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.0001691/0.299, allocations: 164 kB / 0.7937 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.2991, allocations: 27.75 kB / 0.7937 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.2992, allocations: 37.86 kB / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2992, allocations: 4 kB / 0.7938 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.2992, allocations: 4 kB / 0.7938 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2992, allocations: 3.984 kB / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.2996, allocations: 353.2 kB / 0.7941 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.2996, allocations: 3.938 kB / 0.7941 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.3, allocations: 75.89 kB / 0.7942 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3, allocations: 3.938 kB / 0.7942 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.3, allocations: 12 kB / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3, allocations: 0 / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3, allocations: 4 kB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3011, allocations: 0.5745 MB / 0.7948 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.3011, allocations: 112.7 kB / 0.7949 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.3012, allocations: 12.06 kB / 0.7949 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3014, allocations: 32.16 kB / 0.7949 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3016, allocations: 63.89 kB / 0.795 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.3016, allocations: 19.94 kB / 0.795 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.377e-05/0.3017, allocations: 129.1 kB / 0.7951 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3017, allocations: 0 / 0.7951 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003425/0.3021, allocations: 83.91 kB / 0.7952 GB, free: 0.8672 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.001474/0.3035, allocations: 1.151 MB / 0.7963 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000761/0.3043, allocations: 392.5 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3043, allocations: 0 / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.3047, allocations: 190.6 kB / 0.7969 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3051, allocations: 43.98 kB / 0.7969 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.3096, allocations: 3.137 MB / 0.8 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.31, allocations: 0.7686 MB / 0.8007 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.3102, allocations: 43.14 kB / 0.8008 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.3104, allocations: 87.62 kB / 0.8009 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of SimCode: time 1.212e-06/0.3104, allocations: 4 kB / 0.8009 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.3392, allocations: 6.484 MB / 0.8072 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.175, allocations: 3.938 kB / 0.8072 GB, free: 4.488 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)