Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.384/2.384, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 184.1 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 221.3 MB / 0.7915 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00086/0.00086, allocations: 91.94 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.891e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3387, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.584, allocations: 150.6 MB / 1.366 GB, free: 3.496 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.584, allocations: 76.5 kB / 1.366 GB, free: 3.453 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02646/1.611, allocations: 8.706 MB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.392e-06/1.611, allocations: 0 / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.548e-05/1.611, allocations: 4 kB / 1.374 GB, free: 12.2 MB / 0.8386 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.001259/1.612, allocations: 0.596 MB / 1.375 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.612, allocations: 8.031 kB / 1.375 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/1.612, allocations: 31.62 kB / 1.375 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/1.612, allocations: 199.6 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/1.613, allocations: 263.4 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/1.613, allocations: 30.17 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/1.613, allocations: 243.6 kB / 1.376 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/1.613, allocations: 0 / 1.376 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/1.613, allocations: 11.31 kB / 1.376 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.613, allocations: 5.969 kB / 1.376 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/1.614, allocations: 152 kB / 1.376 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/1.615, allocations: 0.8033 MB / 1.377 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/1.615, allocations: 192 kB / 1.377 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/1.616, allocations: 111.9 kB / 1.377 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/1.616, allocations: 12.17 kB / 1.377 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/1.616, allocations: 300.1 kB / 1.377 GB, free: 9.414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=48): time 2.385e-06/1.616, allocations: 0 / 1.377 GB, free: 9.414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.0006081/1.617, allocations: 328.9 kB / 1.378 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/1.617, allocations: 118.2 kB / 1.378 GB, free: 9.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/1.617, allocations: 156.4 kB / 1.378 GB, free: 8.875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/1.617, allocations: 44.89 kB / 1.378 GB, free: 8.836 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/1.617, allocations: 120 kB / 1.378 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/1.617, allocations: 147.5 kB / 1.378 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/1.617, allocations: 15.75 kB / 1.378 GB, free: 8.598 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.617, allocations: 341.1 kB / 1.378 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/1.618, allocations: 127.2 kB / 1.379 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/1.618, allocations: 234.8 kB / 1.379 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/1.619, allocations: 149 kB / 1.379 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/1.619, allocations: 0 / 1.379 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001013/1.62, allocations: 455 kB / 1.379 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.62, allocations: 9.406 kB / 1.379 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.62, allocations: 0 / 1.379 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/1.62, allocations: 11.98 kB / 1.379 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/1.62, allocations: 95.2 kB / 1.379 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.62, allocations: 8 kB / 1.379 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/1.621, allocations: 74.33 kB / 1.38 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/1.621, allocations: 15.12 kB / 1.38 GB, free: 7.34 MB / 0.8386 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.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.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.0001447/1.621, allocations: 151.9 kB / 1.38 GB, free: 7.203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/1.621, allocations: 23.72 kB / 1.38 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/1.621, allocations: 33.83 kB / 1.38 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.621, allocations: 8 kB / 1.38 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.621, allocations: 0 / 1.38 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/1.621, allocations: 0 / 1.38 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/1.622, allocations: 364.5 kB / 1.38 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.622, allocations: 0 / 1.38 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/1.622, allocations: 83.45 kB / 1.38 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/1.622, allocations: 7.938 kB / 1.38 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/1.623, allocations: 11.48 kB / 1.38 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-05/1.623, allocations: 4 kB / 1.38 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.623, allocations: 7.875 kB / 1.38 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/1.624, allocations: 0.555 MB / 1.381 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/1.624, allocations: 100.8 kB / 1.381 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/1.624, allocations: 11.31 kB / 1.381 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/1.624, allocations: 47.83 kB / 1.381 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.625, allocations: 48.69 kB / 1.381 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/1.625, allocations: 14.48 kB / 1.381 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001536/1.625, allocations: 122.5 kB / 1.381 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.625, allocations: 0 / 1.381 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006034/1.625, allocations: 76.75 kB / 1.381 GB, free: 5.863 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.0003699/1.626, allocations: 123.5 kB / 1.381 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.627, allocations: 345.4 kB / 1.382 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.627, allocations: 3.812 kB / 1.382 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/1.627, allocations: 164.6 kB / 1.382 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/1.628, allocations: 30.94 kB / 1.382 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.629, allocations: 0.5031 MB / 1.382 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/1.63, allocations: 0.7725 MB / 1.383 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002898/1.63, allocations: 38.95 kB / 1.383 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/1.631, allocations: 34.5 kB / 1.383 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of SimCode: time 1.102e-06/1.631, allocations: 0 / 1.383 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of Templates: time 0.01049/1.641, allocations: 3.022 MB / 1.386 GB, free: 1.035 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches