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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 289.7 MB / 302.3 MB, free: 2.191 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.001127/0.001127, allocations: 175.8 kB / 371.6 MB, free: 3.406 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.596/1.596, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.5 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.703e-05/5.707e-05, allocations: 8 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3172, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9453/1.263, allocations: 139.5 MB / 1.116 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.263, allocations: 75 kB / 1.116 GB, free: 44.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02192/1.285, allocations: 8.611 MB / 1.125 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.285, allocations: 0 / 1.125 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.285, allocations: 8 kB / 1.125 GB, free: 39.39 MB / 0.7448 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.0009665/1.286, allocations: 0.6085 MB / 1.125 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.286, allocations: 11.36 kB / 1.125 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/1.286, allocations: 54.73 kB / 1.125 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/1.286, allocations: 31.64 kB / 1.125 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/1.286, allocations: 195.2 kB / 1.125 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/1.286, allocations: 261.7 kB / 1.126 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/1.286, allocations: 41.2 kB / 1.126 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/1.287, allocations: 236.9 kB / 1.126 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.287, allocations: 3.953 kB / 1.126 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/1.287, allocations: 13.59 kB / 1.126 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.287, allocations: 4.656 kB / 1.126 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/1.287, allocations: 141.8 kB / 1.126 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/1.288, allocations: 0.8118 MB / 1.127 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/1.289, allocations: 182.5 kB / 1.127 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/1.289, allocations: 118.2 kB / 1.127 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/1.289, allocations: 12.25 kB / 1.127 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/1.289, allocations: 289.5 kB / 1.128 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.814e-06/1.289, allocations: 0 / 1.128 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0005587/1.29, allocations: 337.7 kB / 1.128 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.29, allocations: 118.8 kB / 1.128 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.29, allocations: 160.3 kB / 1.128 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/1.29, allocations: 41.08 kB / 1.128 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/1.29, allocations: 116.3 kB / 1.128 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/1.29, allocations: 150.9 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/1.29, allocations: 11.44 kB / 1.128 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/1.29, allocations: 344.1 kB / 1.129 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/1.291, allocations: 126.4 kB / 1.129 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/1.291, allocations: 234.1 kB / 1.129 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/1.291, allocations: 152.7 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.291, allocations: 0 / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006109/1.292, allocations: 454.6 kB / 1.13 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.292, allocations: 4 kB / 1.13 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.292, allocations: 4 kB / 1.13 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.292, allocations: 9.469 kB / 1.13 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/1.292, allocations: 97.39 kB / 1.13 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.292, allocations: 5.406 kB / 1.13 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/1.293, allocations: 69.83 kB / 1.13 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/1.293, allocations: 19.88 kB / 1.13 GB, free: 34.96 MB / 0.7448 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.0001101/1.293, allocations: 149.6 kB / 1.13 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/1.293, allocations: 27.62 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/1.293, allocations: 33.38 kB / 1.13 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.293, allocations: 8 kB / 1.13 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.293, allocations: 1.375 kB / 1.13 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.293, allocations: 3.812 kB / 1.13 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/1.293, allocations: 364.5 kB / 1.13 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.293, allocations: 3.938 kB / 1.13 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/1.294, allocations: 76.92 kB / 1.131 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.294, allocations: 4.562 kB / 1.131 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/1.294, allocations: 14.77 kB / 1.131 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/1.294, allocations: 4 kB / 1.131 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.294, allocations: 4 kB / 1.131 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/1.294, allocations: 0.5444 MB / 1.131 GB, free: 34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/1.294, allocations: 108.8 kB / 1.131 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/1.294, allocations: 15.42 kB / 1.131 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/1.295, allocations: 49.77 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.295, allocations: 36.91 kB / 1.131 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/1.295, allocations: 12.75 kB / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.498e-05/1.295, allocations: 138.9 kB / 1.131 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.295, allocations: 0 / 1.131 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002979/1.295, allocations: 78.75 kB / 1.131 GB, free: 33.64 MB / 0.7448 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.001034/1.296, allocations: 1.25 MB / 1.133 GB, free: 32.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004889/1.297, allocations: 347.1 kB / 1.133 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.297, allocations: 1.312 kB / 1.133 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/1.297, allocations: 175.3 kB / 1.133 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/1.297, allocations: 42.41 kB / 1.133 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.298, allocations: 0.5819 MB / 1.134 GB, free: 31.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/1.299, allocations: 0.7737 MB / 1.135 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001621/1.299, allocations: 36.98 kB / 1.135 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/1.299, allocations: 82.11 kB / 1.135 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/1.299, allocations: 0 / 1.135 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/1.318, allocations: 5.587 MB / 1.14 GB, free: 27.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/1.318, allocations: 174.2 kB / 1.14 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/3.427, allocations: 0 / 1.14 GB, free: 27.46 MB / 0.7448 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --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)