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.001233/0.001232, allocations: 108 kB / 15.61 MB, free: 152 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.001519/0.001519, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.434/1.434, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.736/1.736, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001647/0.001647, allocations: 73.95 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2459, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003659/0.2496, allocations: 1.964 MB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2508, allocations: 0.6875 MB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.2509, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.841e-05/0.251, allocations: 27.67 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2511, allocations: 35.59 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2516, allocations: 151.7 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.252, allocations: 323.1 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.2521, allocations: 48.31 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2523, allocations: 131.6 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2525, allocations: 155.4 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.2526, allocations: 28 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.2526, allocations: 32 kB / 0.787 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.2527, allocations: 75.8 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.2528, allocations: 131.4 kB / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2532, allocations: 307.3 kB / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2532, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2532, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2532, allocations: 0 / 0.7875 GB, free: 9.277 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.001185/0.2544, allocations: 0.6197 MB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2544, allocations: 15.97 kB / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.577e-05/0.2545, allocations: 62.72 kB / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.2546, allocations: 28.66 kB / 0.7882 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2547, allocations: 200.8 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.2549, allocations: 272.3 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.255, allocations: 28.28 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.2555, allocations: 269.6 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.2555, allocations: 7.938 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.2556, allocations: 8 kB / 0.7889 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2556, allocations: 4 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.256, allocations: 172.5 kB / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.257, allocations: 0.7776 MB / 0.7898 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.2575, allocations: 214.1 kB / 0.7901 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.2578, allocations: 126.5 kB / 0.7902 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.2578, allocations: 12.36 kB / 0.7902 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/0.2584, allocations: 319.2 kB / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.054e-06/0.2584, allocations: 0 / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009852/0.2594, allocations: 484.6 kB / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.2594, allocations: 114.8 kB / 0.7911 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2596, allocations: 176.6 kB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.2596, allocations: 37.7 kB / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.2597, allocations: 121.2 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.2598, allocations: 149.9 kB / 0.7915 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.26, allocations: 106.3 kB / 0.7916 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2601, allocations: 342.8 kB / 0.792 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.2604, allocations: 149.2 kB / 0.7921 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.2608, allocations: 256.6 kB / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.2614, allocations: 402 kB / 0.7927 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2615, allocations: 4 kB / 0.7927 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008105/0.2623, allocations: 493.4 kB / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2623, allocations: 8 kB / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2623, allocations: 3.938 kB / 0.7932 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.2623, allocations: 8 kB / 0.7932 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.2627, allocations: 91.83 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.2627, allocations: 12.14 kB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.263, allocations: 59.64 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.2631, allocations: 20 kB / 0.7934 GB, free: 2.781 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.2632, allocations: 156 kB / 0.7935 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.2633, allocations: 31.66 kB / 0.7936 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.2634, allocations: 33.86 kB / 0.7936 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2634, allocations: 8 kB / 0.7936 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2634, allocations: 0 / 0.7936 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2634, allocations: 3.984 kB / 0.7936 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.2638, allocations: 345.3 kB / 0.7939 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2638, allocations: 7.938 kB / 0.7939 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.2642, allocations: 75.89 kB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.2642, allocations: 8 kB / 0.794 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.2642, allocations: 11.98 kB / 0.794 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2642, allocations: 4 kB / 0.794 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2642, allocations: 3.938 kB / 0.794 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2653, allocations: 0.5824 MB / 0.7946 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.2653, allocations: 108.7 kB / 0.7947 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.2654, allocations: 12 kB / 0.7947 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.2656, allocations: 31.95 kB / 0.7948 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2658, allocations: 55.94 kB / 0.7948 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.2658, allocations: 15.98 kB / 0.7948 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.701e-05/0.2659, allocations: 133.2 kB / 0.795 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2659, allocations: 3.938 kB / 0.795 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003205/0.2662, allocations: 79.91 kB / 0.795 GB, free: 0.9883 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.001357/0.2676, allocations: 1.145 MB / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007671/0.2684, allocations: 410.5 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2684, allocations: 0 / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.2688, allocations: 209.8 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2691, allocations: 39.92 kB / 0.7968 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.2731, allocations: 3.168 MB / 0.7999 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2735, allocations: 0.7686 MB / 0.8006 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.2737, allocations: 38.97 kB / 0.8007 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.2738, allocations: 91.41 kB / 0.8008 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.2738, allocations: 0 / 0.8008 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.2985, allocations: 6.566 MB / 0.8072 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.967, allocations: 11.75 kB / 0.8072 GB, free: 4.457 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-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)