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.551/1.551, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.0009928/0.0009927, allocations: 182.5 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.000813/0.000813, allocations: 92.28 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.063e-05, allocations: 8 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2167, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6983/0.9151, allocations: 132.4 MB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.9153, allocations: 73.45 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02323/0.9386, allocations: 8.749 MB / 1.03 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9386, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.9387, allocations: 8 kB / 1.03 GB, free: 11 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.001049/0.9397, allocations: 0.5948 MB / 1.03 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.9398, allocations: 12.03 kB / 1.03 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.9399, allocations: 30.34 kB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.94, allocations: 195.6 kB / 1.031 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.9402, allocations: 266.9 kB / 1.031 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.9403, allocations: 34.53 kB / 1.031 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.9407, allocations: 244.7 kB / 1.031 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.9407, allocations: 3.938 kB / 1.031 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.9408, allocations: 10.69 kB / 1.031 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.9408, allocations: 4 kB / 1.031 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.9411, allocations: 149.6 kB / 1.031 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.9423, allocations: 0.8024 MB / 1.032 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.9427, allocations: 190.8 kB / 1.032 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.9429, allocations: 114.3 kB / 1.032 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.9429, allocations: 15.8 kB / 1.032 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.9433, allocations: 284.6 kB / 1.033 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.673e-06/0.9433, allocations: 0 / 1.033 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0005711/0.9439, allocations: 328.6 kB / 1.033 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.944, allocations: 122.7 kB / 1.033 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.9441, allocations: 152.4 kB / 1.033 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.9442, allocations: 39.89 kB / 1.033 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.9443, allocations: 118.6 kB / 1.033 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.9444, allocations: 156.9 kB / 1.033 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.9444, allocations: 9.938 kB / 1.033 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9445, allocations: 343.5 kB / 1.034 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.9447, allocations: 129.6 kB / 1.034 GB, free: 7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.945, allocations: 236.5 kB / 1.034 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.9453, allocations: 152.3 kB / 1.034 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9453, allocations: 0 / 1.034 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006354/0.9459, allocations: 446.1 kB / 1.035 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.946, allocations: 5.875 kB / 1.035 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.946, allocations: 4.078 kB / 1.035 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.946, allocations: 4 kB / 1.035 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.9464, allocations: 102.1 kB / 1.035 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.9464, allocations: 11.92 kB / 1.035 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.9467, allocations: 72.83 kB / 1.035 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.9467, allocations: 19.31 kB / 1.035 GB, free: 6.148 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.0001403/0.9469, allocations: 145.1 kB / 1.035 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.9469, allocations: 27.72 kB / 1.035 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.355e-05/0.947, allocations: 41.53 kB / 1.035 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.947, allocations: 8 kB / 1.035 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.947, allocations: 3.938 kB / 1.035 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.947, allocations: 0 / 1.035 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.9474, allocations: 360.1 kB / 1.035 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9474, allocations: 3.938 kB / 1.035 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.9478, allocations: 79.02 kB / 1.036 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.9478, allocations: 4 kB / 1.036 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.9478, allocations: 14.61 kB / 1.036 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9478, allocations: 4 kB / 1.036 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9479, allocations: 4 kB / 1.036 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.9486, allocations: 0.5589 MB / 1.036 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.9487, allocations: 112 kB / 1.036 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.9488, allocations: 3.188 kB / 1.036 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.949, allocations: 51.14 kB / 1.036 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.9491, allocations: 35.52 kB / 1.036 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.9491, allocations: 23.69 kB / 1.036 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.414e-05/0.9492, allocations: 127.2 kB / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9492, allocations: 0 / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002928/0.9495, allocations: 85.06 kB / 1.037 GB, free: 4.66 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.0002241/0.9498, allocations: 127.1 kB / 1.037 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.9504, allocations: 342.7 kB / 1.037 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9504, allocations: 0 / 1.037 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.9507, allocations: 171 kB / 1.037 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.9509, allocations: 33.41 kB / 1.037 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/0.9519, allocations: 0.4957 MB / 1.038 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.9522, allocations: 0.7764 MB / 1.038 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000159/0.9523, allocations: 38.95 kB / 1.038 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.9524, allocations: 31.44 kB / 1.039 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.9524, allocations: 0 / 1.039 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.006107/0.9586, allocations: 3.044 MB / 1.041 GB, free: 15.82 MB / 0.6667 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