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.001158/0.001159, 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.001149/0.001149, allocations: 196.6 kB / 16.64 MB, free: 6.453 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.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.746/1.746, 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.001436/0.001436, allocations: 74.16 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2438, allocations: 114.5 MB / 0.7837 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003416/0.2473, allocations: 1.968 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2484, allocations: 0.6915 MB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.2485, allocations: 4 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.2486, allocations: 23.67 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2487, allocations: 43.52 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.2492, allocations: 143.7 kB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.2495, allocations: 327.1 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.2496, allocations: 48.36 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.2498, allocations: 131.6 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.25, allocations: 151.5 kB / 0.7871 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.2501, allocations: 35.94 kB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.2501, allocations: 28 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.2502, allocations: 79.72 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2503, allocations: 131.4 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.2506, allocations: 307.3 kB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2506, allocations: 0 / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2506, allocations: 0 / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.2506, allocations: 0 / 0.7876 GB, free: 9.145 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.001168/0.2518, allocations: 0.6275 MB / 0.7883 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2519, allocations: 8.031 kB / 0.7883 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.2519, allocations: 62.72 kB / 0.7883 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.252, allocations: 28.66 kB / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2522, allocations: 212.7 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.2524, allocations: 264.3 kB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.2524, allocations: 28.28 kB / 0.7888 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.2529, allocations: 261.7 kB / 0.7891 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.253, allocations: 0 / 0.7891 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.253, allocations: 12 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.253, allocations: 7.938 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.2534, allocations: 179.8 kB / 0.7893 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2545, allocations: 0.766 MB / 0.79 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.255, allocations: 203.8 kB / 0.7902 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.2553, allocations: 138.4 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.2553, allocations: 20.34 kB / 0.7904 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.2559, allocations: 303.3 kB / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.623e-06/0.2559, allocations: 0 / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.00101/0.2569, allocations: 484.8 kB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.257, allocations: 114.8 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2572, allocations: 176.6 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.2572, allocations: 41.7 kB / 0.7914 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.2573, allocations: 125.2 kB / 0.7916 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2574, allocations: 153.9 kB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.2576, allocations: 106.3 kB / 0.7918 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2578, allocations: 338.8 kB / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.258, allocations: 145.2 kB / 0.7923 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.2584, allocations: 256.7 kB / 0.7925 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.259, allocations: 402.1 kB / 0.7929 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.259, allocations: 0 / 0.7929 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007678/0.2598, allocations: 0.489 MB / 0.7934 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2598, allocations: 4 kB / 0.7934 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2598, allocations: 4 kB / 0.7934 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.2599, allocations: 7.938 kB / 0.7934 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.2602, allocations: 103.8 kB / 0.7935 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.2602, allocations: 7.938 kB / 0.7935 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.2605, allocations: 59.64 kB / 0.7935 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.2605, allocations: 20 kB / 0.7936 GB, free: 2.645 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.0001723/0.2607, allocations: 156 kB / 0.7937 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.2608, allocations: 27.66 kB / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.877e-05/0.2608, allocations: 37.86 kB / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2609, allocations: 8 kB / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2609, allocations: 0 / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2609, allocations: 3.984 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.2612, allocations: 349.2 kB / 0.7941 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2612, allocations: 3.938 kB / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.2616, allocations: 71.89 kB / 0.7942 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2616, allocations: 4 kB / 0.7942 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.2617, allocations: 15.98 kB / 0.7942 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.2617, allocations: 4 kB / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2617, allocations: 4 kB / 0.7942 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2627, allocations: 0.5784 MB / 0.7948 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.2628, allocations: 108.7 kB / 0.7949 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.2629, allocations: 12 kB / 0.7949 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.2631, allocations: 35.89 kB / 0.7949 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.2632, allocations: 55.94 kB / 0.795 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.2633, allocations: 15.98 kB / 0.795 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.7e-05/0.2634, allocations: 129.2 kB / 0.7951 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2634, allocations: 0 / 0.7951 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002964/0.2637, allocations: 79.91 kB / 0.7952 GB, free: 0.8633 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.001395/0.2651, allocations: 1.159 MB / 0.7963 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007191/0.2658, allocations: 390.8 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2658, allocations: 0 / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.2662, allocations: 187.8 kB / 0.7969 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2665, allocations: 48.09 kB / 0.7969 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.2703, allocations: 3.145 MB / 0.8 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.2706, allocations: 0.7686 MB / 0.8008 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.2708, allocations: 38.95 kB / 0.8008 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.2709, allocations: 95.34 kB / 0.8009 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2709, allocations: 0 / 0.8009 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.296, allocations: 6.489 MB / 0.8072 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.437, allocations: 10.38 kB / 0.8072 GB, free: 4.508 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart_res.csv --start-time 100 --stop-time 900 --timeout 50 --relative-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)