Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart,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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001003/0.001002, allocations: 176.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009681/0.0009684, allocations: 99.39 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.465e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.343, allocations: 149.7 MB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.344, allocations: 77.73 kB / 1.359 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02209/1.366, allocations: 8.693 MB / 1.367 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.305e-06/1.366, allocations: 4 kB / 1.367 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.694e-05/1.366, allocations: 7.812 kB / 1.367 GB, free: 34.07 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.001102/1.367, allocations: 0.6051 MB / 1.368 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/1.367, allocations: 7.656 kB / 1.368 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/1.367, allocations: 33.44 kB / 1.368 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/1.367, allocations: 191.1 kB / 1.368 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/1.368, allocations: 260.9 kB / 1.368 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/1.368, allocations: 28.34 kB / 1.368 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/1.368, allocations: 244.8 kB / 1.369 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/1.368, allocations: 3.906 kB / 1.369 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/1.368, allocations: 13.45 kB / 1.369 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/1.368, allocations: 3.906 kB / 1.369 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/1.368, allocations: 146.5 kB / 1.369 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/1.37, allocations: 0.8081 MB / 1.369 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/1.37, allocations: 186.7 kB / 1.37 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/1.37, allocations: 119.2 kB / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/1.37, allocations: 12.03 kB / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/1.371, allocations: 288.5 kB / 1.37 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=48): time 3.376e-06/1.371, allocations: 0 / 1.37 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.0005454/1.371, allocations: 338 kB / 1.37 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/1.371, allocations: 118.3 kB / 1.371 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.371, allocations: 160.7 kB / 1.371 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/1.371, allocations: 39.45 kB / 1.371 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/1.371, allocations: 117.4 kB / 1.371 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/1.372, allocations: 148.8 kB / 1.371 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/1.372, allocations: 13.16 kB / 1.371 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.372, allocations: 340.6 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/1.372, allocations: 131.2 kB / 1.371 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/1.372, allocations: 234.5 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/1.372, allocations: 148.5 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.372, allocations: 7.969 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005476/1.373, allocations: 451.3 kB / 1.372 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.373, allocations: 5.062 kB / 1.372 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.373, allocations: 3.844 kB / 1.372 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.373, allocations: 15.61 kB / 1.372 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/1.373, allocations: 92.17 kB / 1.372 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.373, allocations: 10.69 kB / 1.372 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/1.374, allocations: 70.17 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/1.374, allocations: 29.62 kB / 1.372 GB, free: 31.35 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.0001151/1.374, allocations: 143.8 kB / 1.373 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/1.374, allocations: 31.16 kB / 1.373 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/1.374, allocations: 35.12 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.374, allocations: 3.812 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.374, allocations: 0 / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/1.374, allocations: 7.094 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/1.374, allocations: 349.6 kB / 1.373 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/1.374, allocations: 3.844 kB / 1.373 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/1.375, allocations: 78.2 kB / 1.373 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.375, allocations: 64 / 1.373 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/1.375, allocations: 21.14 kB / 1.373 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.375, allocations: 4 kB / 1.373 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.375, allocations: 3.875 kB / 1.373 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/1.375, allocations: 0.5527 MB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/1.375, allocations: 100.4 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/1.375, allocations: 14.62 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/1.376, allocations: 45.81 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.376, allocations: 36.62 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/1.376, allocations: 18.8 kB / 1.374 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.577e-05/1.376, allocations: 128.2 kB / 1.374 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.376, allocations: 0 / 1.374 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002799/1.376, allocations: 82.2 kB / 1.374 GB, free: 30.64 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.0001921/1.376, allocations: 119.6 kB / 1.374 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004537/1.377, allocations: 349.2 kB / 1.374 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.377, allocations: 4 kB / 1.374 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/1.377, allocations: 166.3 kB / 1.375 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/1.377, allocations: 36.64 kB / 1.375 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008303/1.378, allocations: 0.51 MB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/1.379, allocations: 0.7654 MB / 1.376 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001485/1.379, allocations: 40.23 kB / 1.376 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.586e-05/1.379, allocations: 29.16 kB / 1.376 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.379, allocations: 7.844 kB / 1.376 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.005472/1.384, allocations: 3.01 MB / 1.379 GB, free: 29.39 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MovingAverage_nonZeroStart.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches