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_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.66/1.66, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001089/0.00109, allocations: 174.9 kB / 326.5 MB, free: 2.246 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.951/1.951, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001093/0.001093, allocations: 94.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 13.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2724, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001855/0.2743, allocations: 1.659 MB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.2752, allocations: 0.6671 MB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.2752, allocations: 11.88 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.2753, allocations: 11.86 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.928e-05/0.2754, allocations: 43.86 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.2757, allocations: 111.8 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.2759, allocations: 187.6 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2761, allocations: 48.36 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2762, allocations: 107.6 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.2764, allocations: 135.5 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.2764, allocations: 16 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.283e-05/0.2765, allocations: 12 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.2765, allocations: 63.78 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.2766, allocations: 65.58 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.2767, allocations: 199.7 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2767, allocations: 4 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2768, allocations: 4 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2768, allocations: 0 / 0.9034 GB, free: 60.46 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.001031/0.2778, allocations: 0.6042 MB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2779, allocations: 8.031 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.2779, allocations: 58.55 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.278, allocations: 43.56 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2781, allocations: 191.6 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.2783, allocations: 263.8 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.2783, allocations: 35.98 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.2788, allocations: 257.7 kB / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.2788, allocations: 3.984 kB / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.2788, allocations: 12 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2788, allocations: 4 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.2792, allocations: 187.8 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.2802, allocations: 0.7816 MB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.2806, allocations: 216.4 kB / 0.906 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.2806, allocations: 12.17 kB / 0.906 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004693/0.2811, allocations: 315.6 kB / 0.9063 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.774e-06/0.2811, allocations: 224 / 0.9063 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0008713/0.282, allocations: 0.4967 MB / 0.9068 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.2821, allocations: 110.8 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2822, allocations: 183.4 kB / 0.9071 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.2822, allocations: 41.69 kB / 0.9071 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.2823, allocations: 121.2 kB / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.2824, allocations: 150 kB / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.2824, allocations: 15.94 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.2825, allocations: 342.8 kB / 0.9077 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.2827, allocations: 149.2 kB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.283, allocations: 252.8 kB / 0.9081 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.2833, allocations: 175.9 kB / 0.9083 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2833, allocations: 0 / 0.9083 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007395/0.2841, allocations: 0.4936 MB / 0.9087 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2841, allocations: 8 kB / 0.9088 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2841, allocations: 0 / 0.9088 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2841, allocations: 8 kB / 0.9088 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.2845, allocations: 95.83 kB / 0.9089 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2845, allocations: 12.14 kB / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.2848, allocations: 67.66 kB / 0.9089 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2848, allocations: 23.98 kB / 0.909 GB, free: 54.41 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 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.2849, allocations: 159.9 kB / 0.9091 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.285, allocations: 35.58 kB / 0.9091 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.433e-05/0.2851, allocations: 33.86 kB / 0.9092 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2851, allocations: 8 kB / 0.9092 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2851, allocations: 3.938 kB / 0.9092 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2851, allocations: 0 / 0.9092 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.2854, allocations: 353.2 kB / 0.9095 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.2854, allocations: 0 / 0.9095 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.2858, allocations: 79.89 kB / 0.9096 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2858, allocations: 3.938 kB / 0.9096 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.2858, allocations: 28 kB / 0.9096 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2858, allocations: 0 / 0.9096 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2858, allocations: 4 kB / 0.9096 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.2867, allocations: 0.613 MB / 0.9102 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.2867, allocations: 100.8 kB / 0.9103 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.2868, allocations: 12 kB / 0.9103 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.287, allocations: 47.95 kB / 0.9104 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.2871, allocations: 39.98 kB / 0.9104 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.2871, allocations: 19.98 kB / 0.9104 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.2872, allocations: 124.1 kB / 0.9106 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2872, allocations: 0 / 0.9106 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002991/0.2875, allocations: 76 kB / 0.9106 GB, free: 52.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/0.2887, allocations: 1.323 MB / 0.9119 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.2893, allocations: 386.9 kB / 0.9123 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2893, allocations: 4.188 kB / 0.9123 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.2896, allocations: 188.6 kB / 0.9125 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.2899, allocations: 42.08 kB / 0.9125 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.2914, allocations: 2.687 MB / 0.9151 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.2916, allocations: 0.7686 MB / 0.9159 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.2918, allocations: 42.95 kB / 0.9159 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2919, allocations: 87.41 kB / 0.916 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2919, allocations: 4 kB / 0.916 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.3159, allocations: 5.448 MB / 0.9213 GB, free: 41.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.3162, allocations: 212.3 kB / 0.9215 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/2.393, allocations: 0 / 0.9215 GB, free: 41.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)