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.471/1.471, allocations: 249.5 MB / 257 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 172.9 kB / 316.3 MB, free: 3.25 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.724/1.724, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.000879/0.0008789, allocations: 87.39 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.389e-05, allocations: 15.98 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1881, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6908/0.8789, allocations: 132.7 MB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.8792, allocations: 68.66 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03512/0.9143, allocations: 8.692 MB / 1.024 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9144, allocations: 0 / 1.024 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.9144, allocations: 8 kB / 1.024 GB, free: 13.62 MB / 0.6511 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.001494/0.9159, allocations: 0.5939 MB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.916, allocations: 12.03 kB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.9161, allocations: 34.25 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.9163, allocations: 203.5 kB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.9166, allocations: 254.9 kB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/0.9167, allocations: 19.98 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004256/0.9172, allocations: 131.4 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.9177, allocations: 229.4 kB / 1.025 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.9178, allocations: 7.938 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.9178, allocations: 4 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.9179, allocations: 4 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.9195, allocations: 0.7584 MB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.92, allocations: 167.5 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.9203, allocations: 110.9 kB / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.9204, allocations: 19.16 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005959/0.921, allocations: 270.3 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 5.821e-06/0.921, allocations: 4 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0008376/0.9219, allocations: 299.7 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.922, allocations: 122.7 kB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.9222, allocations: 146.1 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.9222, allocations: 29.7 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.9223, allocations: 121.9 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.9225, allocations: 138.3 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.9226, allocations: 0 / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.9227, allocations: 343.4 kB / 1.027 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.9231, allocations: 117.1 kB / 1.027 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.9235, allocations: 214.8 kB / 1.028 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.9238, allocations: 138.1 kB / 1.028 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.9239, allocations: 0 / 1.028 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009409/0.9248, allocations: 405.7 kB / 1.028 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.9248, allocations: 7.984 kB / 1.028 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.9249, allocations: 4 kB / 1.028 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.9249, allocations: 4 kB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.9255, allocations: 95.2 kB / 1.028 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.9255, allocations: 8 kB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.926, allocations: 55.66 kB / 1.028 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.9261, allocations: 23.38 kB / 1.028 GB, free: 8.969 MB / 0.6511 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 () * 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.0001643/0.9262, allocations: 134.3 kB / 1.029 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007224/0.927, allocations: 304.8 kB / 1.029 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.9271, allocations: 31.62 kB / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.9272, allocations: 31.08 kB / 1.029 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.9272, allocations: 4 kB / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9272, allocations: 0 / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.9272, allocations: 7.938 kB / 1.029 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.9277, allocations: 314.9 kB / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9277, allocations: 0 / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/0.9284, allocations: 75.59 kB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.9284, allocations: 4 kB / 1.029 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.9285, allocations: 11.23 kB / 1.029 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.9285, allocations: 4.062 kB / 1.029 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9285, allocations: 4 kB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.9297, allocations: 0.5354 MB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.9298, allocations: 100.8 kB / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.9299, allocations: 4 kB / 1.03 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.9303, allocations: 35.95 kB / 1.03 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.9304, allocations: 42.08 kB / 1.03 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.9305, allocations: 15.98 kB / 1.03 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000121/0.9306, allocations: 123.5 kB / 1.03 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9306, allocations: 0 / 1.03 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000548/0.9312, allocations: 64 kB / 1.03 GB, free: 7.34 MB / 0.6511 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 () * 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.001651/0.9328, allocations: 1.217 MB / 1.031 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007903/0.9336, allocations: 315.4 kB / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9337, allocations: 0 / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.9341, allocations: 153.4 kB / 1.032 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.9345, allocations: 35.56 kB / 1.032 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.9362, allocations: 0.5438 MB / 1.032 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.9366, allocations: 0.7725 MB / 1.033 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002525/0.9369, allocations: 43.45 kB / 1.033 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.9371, allocations: 91.08 kB / 1.033 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of SimCode: time 4.91e-07/0.9371, allocations: 0 / 1.033 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.9661, allocations: 5.066 MB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.9665, allocations: 173.9 kB / 1.038 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.885, allocations: 3.969 kB / 1.038 GB, free: 15.24 MB / 0.6667 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)