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.001118/0.001118, allocations: 109.4 kB / 15.69 MB, free: 128 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.001162/0.001163, allocations: 188.4 kB / 16.62 MB, free: 6.613 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.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.644/1.644, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001463/0.001463, allocations: 73.31 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2428, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003178/0.246, allocations: 1.959 MB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2472, allocations: 0.6914 MB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.2473, allocations: 4 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.38e-05/0.2474, allocations: 19.69 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2475, allocations: 43.58 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.248, allocations: 151.7 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.2483, allocations: 327.1 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.2485, allocations: 52.36 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.2486, allocations: 123.7 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.2488, allocations: 147.4 kB / 0.7871 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.2489, allocations: 32 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.082e-05/0.2489, allocations: 28 kB / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.249, allocations: 87.7 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.2491, allocations: 131.4 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.2494, allocations: 311.2 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2494, allocations: 4 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2494, allocations: 0 / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2495, allocations: 0 / 0.7876 GB, free: 9.121 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.001147/0.2506, allocations: 0.6197 MB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2507, allocations: 8.031 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.2507, allocations: 58.73 kB / 0.7883 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.2508, allocations: 32.64 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.2509, allocations: 204.7 kB / 0.7885 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.2511, allocations: 268.3 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.2512, allocations: 32.27 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.2517, allocations: 261.7 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2517, allocations: 3.984 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.2517, allocations: 8 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2517, allocations: 4 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.2521, allocations: 179.8 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.2532, allocations: 0.7736 MB / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.2537, allocations: 207.7 kB / 0.7902 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.254, allocations: 130.5 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.254, allocations: 16.3 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005436/0.2546, allocations: 315.2 kB / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.753e-06/0.2546, allocations: 0 / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001002/0.2556, allocations: 488.1 kB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.2557, allocations: 118.8 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2558, allocations: 180.6 kB / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.2559, allocations: 37.7 kB / 0.7914 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.256, allocations: 121.2 kB / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.2561, allocations: 149.9 kB / 0.7917 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.2562, allocations: 102.3 kB / 0.7918 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2564, allocations: 346.8 kB / 0.7921 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.2567, allocations: 149.2 kB / 0.7923 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.257, allocations: 252.7 kB / 0.7925 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.2576, allocations: 394.1 kB / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2576, allocations: 0 / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008198/0.2585, allocations: 0.493 MB / 0.7934 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2585, allocations: 4 kB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2585, allocations: 4 kB / 0.7934 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2585, allocations: 4 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.2589, allocations: 95.83 kB / 0.7935 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.2589, allocations: 7.938 kB / 0.7935 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.2592, allocations: 59.66 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.2592, allocations: 23.98 kB / 0.7935 GB, free: 2.629 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.0001719/0.2594, allocations: 160 kB / 0.7937 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.2595, allocations: 27.66 kB / 0.7937 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.275e-05/0.2595, allocations: 33.86 kB / 0.7938 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2595, allocations: 8 kB / 0.7938 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2596, allocations: 0 / 0.7938 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.2596, allocations: 96 / 0.7938 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.2599, allocations: 353.2 kB / 0.7941 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2599, allocations: 7.922 kB / 0.7941 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.2603, allocations: 79.89 kB / 0.7942 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.2604, allocations: 4.062 kB / 0.7942 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.2604, allocations: 15.98 kB / 0.7942 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2604, allocations: 4 kB / 0.7942 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2604, allocations: 0 / 0.7942 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.2614, allocations: 0.5831 MB / 0.7948 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.2615, allocations: 104.7 kB / 0.7949 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.2616, allocations: 12 kB / 0.7949 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.2618, allocations: 31.95 kB / 0.7949 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.2619, allocations: 55.94 kB / 0.795 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.2619, allocations: 11.98 kB / 0.795 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.143e-05/0.262, allocations: 137.2 kB / 0.7951 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2621, allocations: 192 / 0.7951 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003039/0.2624, allocations: 75.91 kB / 0.7952 GB, free: 0.8438 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.001397/0.2638, allocations: 1.163 MB / 0.7963 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007651/0.2645, allocations: 382.5 kB / 0.7967 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2646, allocations: 0 / 0.7967 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.265, allocations: 195.7 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.2653, allocations: 44.42 kB / 0.7969 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.2697, allocations: 3.148 MB / 0.8 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.27, allocations: 0.7686 MB / 0.8007 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.2702, allocations: 38.97 kB / 0.8008 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.2703, allocations: 95.39 kB / 0.8009 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of SimCode: time 1.693e-06/0.2703, allocations: 0 / 0.8009 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.2947, allocations: 6.482 MB / 0.8072 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.409, allocations: 0 / 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)