Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 190 kB / 22.23 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 251 MB, free: 13.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 1.062 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9621/0.9641, allocations: 160.8 MB / 1.219 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003712/0.9678, allocations: 1.985 MB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.9691, allocations: 0.6601 MB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.9692, allocations: 2.438 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.433e-05/0.9693, allocations: 19.69 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.9694, allocations: 48.08 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.9699, allocations: 154.7 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.9704, allocations: 322.5 kB / 1.222 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.9705, allocations: 34.89 kB / 1.222 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.9708, allocations: 133.8 kB / 1.222 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.971, allocations: 154.9 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.377e-05/0.9711, allocations: 34.22 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.596e-05/0.9711, allocations: 29.16 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.782e-05/0.9712, allocations: 79.69 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.9714, allocations: 129.8 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.9718, allocations: 309.9 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9718, allocations: 0 / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9719, allocations: 1.25 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.9719, allocations: 0 / 1.222 GB, free: 0.6445 MB / 0.92 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.001489/0.9733, allocations: 0.6335 MB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.9734, allocations: 13.72 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.9735, allocations: 29.36 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.9737, allocations: 216.9 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.974, allocations: 262.2 kB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.974, allocations: 35.05 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.9746, allocations: 255.8 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.9746, allocations: 1.906 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.9746, allocations: 10.25 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.9746, allocations: 8.875 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.9751, allocations: 179 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.9763, allocations: 0.772 MB / 1.225 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.9768, allocations: 191.8 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.9771, allocations: 126.3 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.9772, allocations: 22.41 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000631/0.9778, allocations: 301.7 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.994e-06/0.9778, allocations: 0 / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.001082/0.9789, allocations: 496.2 kB / 1.226 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.979, allocations: 115.6 kB / 1.226 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.9792, allocations: 176.1 kB / 1.226 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.9793, allocations: 42.27 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.9793, allocations: 115.8 kB / 1.226 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.9795, allocations: 162.4 kB / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.9797, allocations: 112.8 kB / 1.227 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.9798, allocations: 337.2 kB / 1.227 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.9802, allocations: 149.6 kB / 1.227 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.9806, allocations: 255 kB / 1.227 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.9813, allocations: 397.5 kB / 1.228 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9813, allocations: 0.9375 kB / 1.228 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009068/0.9822, allocations: 494.4 kB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.9822, allocations: 6.531 kB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.9822, allocations: 2.562 kB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.9822, allocations: 6 kB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.9827, allocations: 98.09 kB / 1.228 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.9827, allocations: 8.875 kB / 1.228 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.983, allocations: 61.88 kB / 1.228 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.983, allocations: 20.06 kB / 1.228 GB, free: 12.09 MB / 0.9356 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.9833, allocations: 160.2 kB / 1.229 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.9833, allocations: 35.55 kB / 1.229 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.9834, allocations: 30.56 kB / 1.229 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.9834, allocations: 10.41 kB / 1.229 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.9834, allocations: 5.531 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.9834, allocations: 3.984 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.9839, allocations: 356.8 kB / 1.229 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.9839, allocations: 1.094 kB / 1.229 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.9843, allocations: 79.97 kB / 1.229 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.9843, allocations: 1.531 kB / 1.229 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.9844, allocations: 17.08 kB / 1.229 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.9844, allocations: 3.031 kB / 1.229 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.9844, allocations: 1.312 kB / 1.229 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.9856, allocations: 0.581 MB / 1.23 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.9857, allocations: 113.6 kB / 1.23 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.9858, allocations: 11.98 kB / 1.23 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.986, allocations: 31.62 kB / 1.23 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.9861, allocations: 59.22 kB / 1.23 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.9862, allocations: 19.08 kB / 1.23 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000123/0.9863, allocations: 125.8 kB / 1.23 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9863, allocations: 0 / 1.23 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003729/0.9867, allocations: 79.16 kB / 1.23 GB, free: 10.88 MB / 0.9356 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/0.9869, allocations: 130.5 kB / 1.23 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007788/0.9877, allocations: 358 kB / 1.23 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9877, allocations: 3.938 kB / 1.23 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.9881, allocations: 186.7 kB / 1.231 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.9884, allocations: 56.3 kB / 1.231 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.9897, allocations: 0.6165 MB / 1.231 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.9901, allocations: 0.7687 MB / 1.232 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.9902, allocations: 39.23 kB / 1.232 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.9903, allocations: 35.44 kB / 1.232 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.9903, allocations: 0 / 1.232 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of Templates: time 0.009033/0.9994, allocations: 4.146 MB / 1.236 GB, free: 4.578 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.35046214144677]