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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movingMean_1.y|movingMean_2.y|movingMean_3.y|movingMean_4.y|sinInp50sDel.y|movingMean_6.y|movingMean_7.y|sinInp100sDel.y|movingMean_8.y|movingMean_9.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movingMean_1.y|movingMean_2.y|movingMean_3.y|movingMean_4.y|sinInp50sDel.y|movingMean_6.y|movingMean_7.y|sinInp100sDel.y|movingMean_8.y|movingMean_9.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 249.5 MB / 257 MB, free: 6.996 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.001015/0.001015, allocations: 180.9 kB / 316.3 MB, free: 3.305 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.79/1.79, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008714/0.0008714, allocations: 92.38 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.403e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2374, allocations: 106.4 MB / 0.8853 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7776/1.015, allocations: 132.7 MB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/1.015, allocations: 74.27 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02299/1.038, allocations: 8.69 MB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.342e-06/1.038, allocations: 0 / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.516e-05/1.038, allocations: 4 kB / 1.023 GB, free: 14.07 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.001053/1.039, allocations: 0.6033 MB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.04, allocations: 8.031 kB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/1.04, allocations: 35.7 kB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/1.04, allocations: 193.7 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/1.04, allocations: 251.8 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/1.04, allocations: 27.91 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000263/1.04, allocations: 127.5 kB / 1.025 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/1.041, allocations: 229.7 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.041, allocations: 4 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/1.041, allocations: 3.984 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.041, allocations: 4 kB / 1.025 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.042, allocations: 0.7535 MB / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/1.042, allocations: 183.3 kB / 1.026 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/1.042, allocations: 109.8 kB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/1.042, allocations: 4.188 kB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/1.043, allocations: 280.3 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.793e-06/1.043, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0005475/1.043, allocations: 305.2 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/1.043, allocations: 118.2 kB / 1.027 GB, free: 11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/1.044, allocations: 144.3 kB / 1.027 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/1.044, allocations: 32.69 kB / 1.027 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/1.044, allocations: 123.2 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.044, allocations: 138.1 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/1.044, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.044, allocations: 345.1 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/1.044, allocations: 116.2 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/1.045, allocations: 214.2 kB / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/1.045, allocations: 141.3 kB / 1.028 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.045, allocations: 0 / 1.028 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005866/1.045, allocations: 399.6 kB / 1.028 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.045, allocations: 8 kB / 1.028 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.045, allocations: 3.938 kB / 1.028 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.045, allocations: 15.98 kB / 1.028 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/1.046, allocations: 95.2 kB / 1.028 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.046, allocations: 7.938 kB / 1.028 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.046, allocations: 63.64 kB / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.046, allocations: 19.12 kB / 1.028 GB, free: 9.406 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.0001344/1.046, allocations: 126.6 kB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/1.046, allocations: 23.72 kB / 1.028 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/1.046, allocations: 30.39 kB / 1.028 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.046, allocations: 4 kB / 1.028 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.046, allocations: 4 kB / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.046, allocations: 4.047 kB / 1.028 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/1.047, allocations: 309.5 kB / 1.029 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.047, allocations: 4 kB / 1.029 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/1.047, allocations: 78.7 kB / 1.029 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/1.047, allocations: 7.953 kB / 1.029 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/1.047, allocations: 4 kB / 1.029 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.047, allocations: 0 / 1.029 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.047, allocations: 4 kB / 1.029 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/1.048, allocations: 0.5297 MB / 1.029 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/1.048, allocations: 104.7 kB / 1.029 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/1.048, allocations: 14.98 kB / 1.03 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/1.048, allocations: 36.16 kB / 1.03 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.048, allocations: 34.52 kB / 1.03 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/1.049, allocations: 23.8 kB / 1.03 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.56e-05/1.049, allocations: 120.3 kB / 1.03 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.049, allocations: 0 / 1.03 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003128/1.049, allocations: 67.98 kB / 1.03 GB, free: 8.027 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.0002115/1.049, allocations: 121.5 kB / 1.03 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004688/1.05, allocations: 316.3 kB / 1.03 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.05, allocations: 0 / 1.03 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/1.05, allocations: 157.1 kB / 1.03 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/1.05, allocations: 24.19 kB / 1.03 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/1.051, allocations: 494.1 kB / 1.031 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/1.051, allocations: 0.7763 MB / 1.032 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000158/1.052, allocations: 47.25 kB / 1.032 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/1.052, allocations: 27.44 kB / 1.032 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.052, allocations: 0 / 1.032 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of Templates: time 0.00578/1.057, allocations: 2.843 MB / 1.034 GB, free: 3.43 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches