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.00153/0.00153, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001683/0.001683, allocations: 212.1 kB / 22.25 MB, free: 5.117 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.035 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.351/3.351, allocations: 0.4899 GB / 0.7951 GB, free: 33.25 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.002115/0.002115, allocations: 65.62 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4573, allocations: 176.1 MB / 1.326 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003661/0.461, allocations: 2.005 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4624, allocations: 0.7478 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.4625, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.899e-05/0.4626, allocations: 19.69 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.4627, allocations: 47.56 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.4633, allocations: 179.6 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.4637, allocations: 327.1 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.4639, allocations: 44.84 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.4642, allocations: 135.6 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.4644, allocations: 151.4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.4645, allocations: 32 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.4645, allocations: 43.88 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.4646, allocations: 83.78 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.4648, allocations: 127.4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.4652, allocations: 318.7 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4652, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4652, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4652, allocations: 0 / 1.331 GB, free: 13.13 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.001351/0.4665, allocations: 0.5676 MB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4666, allocations: 8.031 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.4669, allocations: 60.72 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.4673, allocations: 186.2 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/0.4678, allocations: 0.4996 MB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.4678, allocations: 28.33 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.4684, allocations: 265.8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.4684, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.4684, allocations: 11.98 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4684, allocations: 8 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.4689, allocations: 183.8 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.4701, allocations: 0.7377 MB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.4706, allocations: 195.7 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.4708, allocations: 126.5 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.4709, allocations: 15.88 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005607/0.4714, allocations: 315.8 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 2.315e-06/0.4715, allocations: 4 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001101/0.4726, allocations: 491 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.4727, allocations: 114.8 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.4728, allocations: 178.3 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.4729, allocations: 41.69 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.473, allocations: 121.3 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.4731, allocations: 154.8 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.4733, allocations: 106.3 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.4735, allocations: 342.8 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.4738, allocations: 145.2 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.4743, allocations: 248.8 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.475, allocations: 394 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.475, allocations: 4 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009128/0.4759, allocations: 496.9 kB / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4759, allocations: 8 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.4759, allocations: 0 / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.4759, allocations: 8 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.4763, allocations: 95.81 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.4764, allocations: 15.94 kB / 1.336 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.4766, allocations: 51.81 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.4767, allocations: 24.7 kB / 1.337 GB, free: 6.539 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.0002009/0.4769, allocations: 167.9 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.477, allocations: 35.75 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.477, allocations: 33.97 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.477, allocations: 4.094 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.477, allocations: 0 / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4771, allocations: 11.97 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.4775, allocations: 328.4 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.4775, allocations: 0 / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.4779, allocations: 79.83 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.4779, allocations: 4 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.4779, allocations: 8 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4779, allocations: 0 / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4779, allocations: 4 kB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.4791, allocations: 0.5882 MB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.4791, allocations: 35.67 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.4792, allocations: 12 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.4794, allocations: 31.97 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.4796, allocations: 60.09 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.4796, allocations: 11.98 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001305/0.4797, allocations: 139 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4797, allocations: 0 / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000346/0.4801, allocations: 87.94 kB / 1.338 GB, free: 4.836 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.0001864/0.4803, allocations: 113.1 kB / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007871/0.481, allocations: 367.2 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.481, allocations: 0 / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.4814, allocations: 176.9 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4818, allocations: 49.94 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.4831, allocations: 0.6224 MB / 1.339 GB, free: 3.488 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.4836, allocations: 0.7687 MB / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.4837, allocations: 42.95 kB / 1.34 GB, free: 2.645 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.4839, allocations: 35.44 kB / 1.34 GB, free: 2.609 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.4839, allocations: 4 kB / 1.34 GB, free: 2.605 MB / 1.029 GB Notification: Performance of Templates: time 0.009376/0.4932, allocations: 4.146 MB / 1.344 GB, free: 14.48 MB / 1.045 GB " [Timeout remaining time 299] 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 -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/jenkins/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.700565646868199]