Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.688/2.688, allocations: 287.5 MB / 303.2 MB, free: 8.223 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.001259/0.001259, allocations: 186.7 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009725/0.0009721, allocations: 103.8 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.0006412, allocations: 14.28 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2131, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9576/1.171, allocations: 138.4 MB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.171, allocations: 74.88 kB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04719/1.218, allocations: 6.949 MB / 1.121 GB, free: 31.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.336e-06/1.218, allocations: 0 / 1.121 GB, free: 31.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.419e-05/1.218, allocations: 3.781 kB / 1.121 GB, free: 31.1 MB / 0.698 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.002926/1.221, allocations: 0.6206 MB / 1.122 GB, free: 30.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/1.221, allocations: 7.688 kB / 1.122 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/1.222, allocations: 31.84 kB / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/1.222, allocations: 205.9 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/1.222, allocations: 260.4 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/1.223, allocations: 29.12 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.224, allocations: 268.6 kB / 1.123 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/1.224, allocations: 7.844 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/1.224, allocations: 13.41 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/1.224, allocations: 3.875 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/1.225, allocations: 186.7 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/1.228, allocations: 0.8032 MB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/1.229, allocations: 210.1 kB / 1.124 GB, free: 29.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/1.23, allocations: 138.3 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/1.23, allocations: 14.28 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.231, allocations: 311.9 kB / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 4.498e-06/1.231, allocations: 0 / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002325/1.234, allocations: 0.4914 MB / 1.125 GB, free: 29.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.234, allocations: 125.5 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/1.234, allocations: 167.3 kB / 1.125 GB, free: 29.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/1.234, allocations: 39.89 kB / 1.125 GB, free: 29.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/1.234, allocations: 120.8 kB / 1.125 GB, free: 28.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/1.234, allocations: 156.3 kB / 1.125 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/1.235, allocations: 15.53 kB / 1.125 GB, free: 28.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.235, allocations: 336.4 kB / 1.126 GB, free: 28.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/1.235, allocations: 150.7 kB / 1.126 GB, free: 28.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/1.236, allocations: 256.1 kB / 1.126 GB, free: 28.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/1.238, allocations: 398.4 kB / 1.127 GB, free: 28.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.238, allocations: 3.906 kB / 1.127 GB, free: 28.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001585/1.239, allocations: 495.9 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.239, allocations: 11.62 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.239, allocations: 96 / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.239, allocations: 11.64 kB / 1.127 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/1.24, allocations: 102.9 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/1.24, allocations: 3.969 kB / 1.127 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/1.241, allocations: 76.52 kB / 1.127 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/1.241, allocations: 23.47 kB / 1.127 GB, free: 28.23 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002765/1.241, allocations: 161.6 kB / 1.127 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/1.241, allocations: 31.06 kB / 1.127 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.34e-05/1.241, allocations: 32.56 kB / 1.127 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/1.241, allocations: 7.438 kB / 1.127 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.241, allocations: 0 / 1.127 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.241, allocations: 0 / 1.127 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/1.242, allocations: 357.9 kB / 1.128 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.242, allocations: 3.938 kB / 1.128 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/1.242, allocations: 78.41 kB / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.242, allocations: 7.75 kB / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/1.243, allocations: 13.14 kB / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/1.243, allocations: 3.844 kB / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.243, allocations: 0 / 1.128 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/1.244, allocations: 0.6007 MB / 1.128 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.329e-05/1.244, allocations: 103 kB / 1.129 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/1.244, allocations: 23.22 kB / 1.129 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.245, allocations: 43.28 kB / 1.129 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.245, allocations: 40.91 kB / 1.129 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/1.245, allocations: 22.2 kB / 1.129 GB, free: 27.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001319/1.245, allocations: 123.5 kB / 1.129 GB, free: 27.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.245, allocations: 0 / 1.129 GB, free: 27.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005396/1.246, allocations: 87 kB / 1.129 GB, free: 27.54 MB / 0.698 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 (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.000226/1.246, allocations: 117.8 kB / 1.129 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.247, allocations: 397.2 kB / 1.129 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.247, allocations: 0 / 1.129 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005535/1.248, allocations: 180.6 kB / 1.13 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/1.248, allocations: 55.95 kB / 1.13 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/1.25, allocations: 0.7005 MB / 1.13 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/1.25, allocations: 0.7647 MB / 1.131 GB, free: 26.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003377/1.251, allocations: 41.97 kB / 1.131 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/1.251, allocations: 29.7 kB / 1.131 GB, free: 26.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.251, allocations: 0 / 1.131 GB, free: 26.3 MB / 0.698 GB Notification: Performance of Templates: time 0.01103/1.262, allocations: 3.041 MB / 1.134 GB, free: 26.09 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)