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.001359/0.001359, 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.001914/0.001914, allocations: 198 kB / 16.64 MB, free: 6.434 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.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.845/1.845, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001614/0.001614, allocations: 81.09 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2826, allocations: 114.5 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.004588/0.2872, allocations: 1.964 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2889, allocations: 0.6914 MB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.2892, allocations: 4 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.602e-05/0.2893, allocations: 15.75 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.2895, allocations: 47.5 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.2903, allocations: 151.7 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.2908, allocations: 323.1 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.291, allocations: 48.36 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.2914, allocations: 127.6 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.2918, allocations: 155.4 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.642e-05/0.2919, allocations: 28 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.21e-05/0.292, allocations: 28 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2921, allocations: 83.72 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2923, allocations: 131.4 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.2928, allocations: 311.2 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.2928, allocations: 0 / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.786e-06/0.2929, allocations: 0 / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.2929, allocations: 0 / 0.7876 GB, free: 9.094 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.001968/0.2949, allocations: 0.6275 MB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.2949, allocations: 8.031 kB / 0.7883 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.856e-05/0.295, allocations: 66.72 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2952, allocations: 32.66 kB / 0.7884 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.2954, allocations: 192.8 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.2957, allocations: 264.3 kB / 0.7888 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.2958, allocations: 36.27 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.2964, allocations: 261.6 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.2965, allocations: 4 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.2965, allocations: 15.94 kB / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.2965, allocations: 4 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.297, allocations: 176.5 kB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.2982, allocations: 0.7776 MB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.2988, allocations: 203.7 kB / 0.7902 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.2991, allocations: 138.5 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.2991, allocations: 8.359 kB / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006147/0.2997, allocations: 319.2 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/0.2997, allocations: 0 / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001074/0.3008, allocations: 480.6 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.3009, allocations: 110.8 kB / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3011, allocations: 180.5 kB / 0.7914 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.3012, allocations: 37.7 kB / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3013, allocations: 125.2 kB / 0.7916 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.3014, allocations: 149.9 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.3016, allocations: 106.3 kB / 0.7918 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.3018, allocations: 342.8 kB / 0.7921 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.3021, allocations: 145.2 kB / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.3025, allocations: 257.6 kB / 0.7925 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.3032, allocations: 402 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3032, allocations: 4 kB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008478/0.304, allocations: 493.4 kB / 0.7934 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.3041, allocations: 8 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3041, allocations: 3.938 kB / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.3041, allocations: 8 kB / 0.7934 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.3045, allocations: 95.83 kB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.3045, allocations: 8 kB / 0.7935 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3048, allocations: 51.66 kB / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.3048, allocations: 27.98 kB / 0.7936 GB, free: 2.598 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.0002093/0.3051, allocations: 152 kB / 0.7937 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.3051, allocations: 27.66 kB / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.353e-05/0.3052, allocations: 37.86 kB / 0.7938 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3052, allocations: 8 kB / 0.7938 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3053, allocations: 0 / 0.7938 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3053, allocations: 0 / 0.7938 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.3056, allocations: 353.2 kB / 0.7941 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3057, allocations: 11.88 kB / 0.7941 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.3061, allocations: 71.89 kB / 0.7942 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.3061, allocations: 4 kB / 0.7942 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.3061, allocations: 11.98 kB / 0.7942 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.3062, allocations: 8.062 kB / 0.7942 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3062, allocations: 3.938 kB / 0.7942 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3073, allocations: 0.5863 MB / 0.7948 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.3073, allocations: 104.7 kB / 0.7949 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.3074, allocations: 16.03 kB / 0.7949 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.3076, allocations: 39.89 kB / 0.7949 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.3078, allocations: 51.94 kB / 0.795 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.3078, allocations: 19.98 kB / 0.795 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.779e-05/0.3079, allocations: 125.2 kB / 0.7951 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3079, allocations: 0 / 0.7951 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003209/0.3083, allocations: 83.91 kB / 0.7952 GB, free: 0.8008 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.001339/0.3096, allocations: 1.15 MB / 0.7963 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007552/0.3104, allocations: 382.8 kB / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3104, allocations: 0 / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.3108, allocations: 197.4 kB / 0.7969 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3111, allocations: 50.41 kB / 0.7969 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.3154, allocations: 3.147 MB / 0.8 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3158, allocations: 0.7647 MB / 0.8008 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000177/0.316, allocations: 38.95 kB / 0.8008 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3162, allocations: 91.41 kB / 0.8009 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of SimCode: time 9.51e-07/0.3162, allocations: 0 / 0.8009 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3412, allocations: 6.498 MB / 0.8072 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.13, allocations: 9.078 kB / 0.8072 GB, free: 4.453 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)