Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002514/0.002514, allocations: 211.2 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.357/3.357, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 65.67 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4162, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003689/0.4199, allocations: 1.92 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.4213, allocations: 0.6935 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.4214, allocations: 7.938 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.4215, allocations: 19.73 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.4216, allocations: 43.52 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.4222, allocations: 175.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.4226, allocations: 331.1 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.4228, allocations: 44.84 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.423, allocations: 139.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.4232, allocations: 147.4 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.4233, allocations: 32 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.601e-05/0.4234, allocations: 36 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.4235, allocations: 83.72 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.4236, allocations: 115.5 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.424, allocations: 318.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.424, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.424, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.424, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 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.001416/0.4254, allocations: 0.5676 MB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4255, allocations: 8.031 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.4259, allocations: 64.72 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.4262, allocations: 186.2 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/0.4266, allocations: 495.6 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.4267, allocations: 36.3 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.4272, allocations: 269.7 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.4273, allocations: 11.94 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.4273, allocations: 8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4273, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.4277, allocations: 175.8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.4288, allocations: 0.6526 MB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.4293, allocations: 195.7 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.4296, allocations: 126.5 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.4296, allocations: 4 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.4302, allocations: 307.7 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 1.773e-06/0.4302, allocations: 0 / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001044/0.4312, allocations: 497.4 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.4313, allocations: 122.8 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.4315, allocations: 182.2 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.4316, allocations: 37.7 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.4317, allocations: 121.3 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.4318, allocations: 154.8 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.432, allocations: 98.34 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4321, allocations: 342.8 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.4324, allocations: 153.2 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.4328, allocations: 256.7 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.4335, allocations: 402 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4335, allocations: 0 / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009026/0.4344, allocations: 0.4894 MB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4344, allocations: 7.938 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.4344, allocations: 4 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4345, allocations: 4 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.4349, allocations: 95.83 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.4349, allocations: 4.062 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.4351, allocations: 59.75 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.4352, allocations: 23.98 kB / 1.337 GB, free: 6.352 MB / 1.029 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.0002131/0.4354, allocations: 163.9 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.4355, allocations: 31.75 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.976e-05/0.4355, allocations: 37.95 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.4356, allocations: 4 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4356, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4356, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.4359, allocations: 245.1 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4359, allocations: 11.88 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.4363, allocations: 67.89 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4363, allocations: 8 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.4364, allocations: 15.94 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4364, allocations: 7.938 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4364, allocations: 0 / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.4375, allocations: 0.5823 MB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.4376, allocations: 27.75 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.4376, allocations: 16.02 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.4379, allocations: 39.91 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.438, allocations: 55.91 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.4381, allocations: 19.98 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001279/0.4382, allocations: 131.1 kB / 1.338 GB, free: 4.832 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4382, allocations: 0 / 1.338 GB, free: 4.832 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003482/0.4385, allocations: 76 kB / 1.339 GB, free: 4.758 MB / 1.029 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.0001913/0.4387, allocations: 119.2 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008014/0.4395, allocations: 360.3 kB / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4395, allocations: 0 / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.4399, allocations: 189 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.4403, allocations: 45.53 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4416, allocations: 0.6275 MB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.4418, allocations: 160.2 kB / 1.34 GB, free: 3.215 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.4419, allocations: 46.94 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.442, allocations: 35.44 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of SimCode: time 6.52e-07/0.442, allocations: 0 / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of Templates: time 0.009647/0.4517, allocations: 4.329 MB / 1.344 GB, free: 14.88 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.774464205998811]