Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.4 MB / 303.3 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 177.8 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 0.6307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007362/0.0007362, allocations: 94.36 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004194, allocations: 21.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2375, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002092/0.2397, allocations: 1.614 MB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2409, allocations: 0.6633 MB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2411, allocations: 0 / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.2411, allocations: 11.86 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.2413, allocations: 31.7 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.2417, allocations: 111.9 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.242, allocations: 287.1 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.2422, allocations: 36.39 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.2424, allocations: 115.7 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.2426, allocations: 139.4 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.2427, allocations: 12 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-05/0.2427, allocations: 16 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.2428, allocations: 63.78 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.2428, allocations: 65.58 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.243, allocations: 203.7 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2431, allocations: 0 / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.915e-06/0.2431, allocations: 4 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2431, allocations: 0 / 0.9829 GB, free: 24.18 MB / 0.6198 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.001148/0.2442, allocations: 0.6128 MB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2443, allocations: 11.97 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.928e-05/0.2444, allocations: 62.55 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.2445, allocations: 27.72 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.2446, allocations: 207.5 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.2448, allocations: 267.8 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.2448, allocations: 27.91 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.2453, allocations: 269.7 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.2454, allocations: 4 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.2454, allocations: 11.98 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2454, allocations: 4 kB / 0.9844 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.2458, allocations: 179.8 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2468, allocations: 0.7817 MB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.2473, allocations: 208.3 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.2476, allocations: 138.9 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.2476, allocations: 12.14 kB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005419/0.2482, allocations: 323.6 kB / 0.986 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.846e-06/0.2482, allocations: 0 / 0.986 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001078/0.2493, allocations: 0.4953 MB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.2494, allocations: 118.7 kB / 0.9866 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2495, allocations: 179.4 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.2496, allocations: 37.7 kB / 0.9868 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.2497, allocations: 117.2 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.2498, allocations: 150 kB / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2498, allocations: 16 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.2499, allocations: 338.8 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.2502, allocations: 149.2 kB / 0.9875 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.2506, allocations: 260.8 kB / 0.9878 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.2509, allocations: 167.9 kB / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2509, allocations: 0 / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007097/0.2516, allocations: 0.4934 MB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2516, allocations: 4 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2516, allocations: 4 kB / 0.9884 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2517, allocations: 8 kB / 0.9884 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.252, allocations: 99.81 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.2521, allocations: 4 kB / 0.9885 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.2524, allocations: 71.59 kB / 0.9886 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.2524, allocations: 24 kB / 0.9886 GB, free: 17.99 MB / 0.6198 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.0001829/0.2526, allocations: 164 kB / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.2527, allocations: 35.59 kB / 0.9888 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.2527, allocations: 29.88 kB / 0.9888 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2527, allocations: 8 kB / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.2528, allocations: 4 kB / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2528, allocations: 3.984 kB / 0.9889 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.2531, allocations: 361.2 kB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2531, allocations: 0 / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.2535, allocations: 79.97 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.2535, allocations: 0 / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.2536, allocations: 15.94 kB / 0.9893 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.2536, allocations: 4 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2536, allocations: 4 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008987/0.2545, allocations: 0.5979 MB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.2545, allocations: 104.7 kB / 0.99 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.2546, allocations: 15.98 kB / 0.99 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.2548, allocations: 43.92 kB / 0.99 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.2549, allocations: 39.94 kB / 0.9901 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.255, allocations: 16 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.255, allocations: 129.1 kB / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.91e-07/0.255, allocations: 0 / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003106/0.2554, allocations: 76 kB / 0.9903 GB, free: 16.18 MB / 0.6198 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.001263/0.2566, allocations: 1.156 MB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006951/0.2573, allocations: 398.7 kB / 0.9918 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2574, allocations: 0 / 0.9918 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.2577, allocations: 187.7 kB / 0.992 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2581, allocations: 48.11 kB / 0.992 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.2609, allocations: 1.859 MB / 0.9938 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.2611, allocations: 0.7725 MB / 0.9946 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.2613, allocations: 43.08 kB / 0.9946 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.2615, allocations: 87.41 kB / 0.9947 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.2615, allocations: 0 / 0.9947 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.2778, allocations: 5.574 MB / 1 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/0.2781, allocations: 227.5 kB / 1 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.452, allocations: 0 / 1 GB, free: 5.902 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)