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.001455/0.001455, allocations: 103 kB / 16.45 MB, free: 6.449 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.001502/0.001502, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.6/1.6, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.368/3.368, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 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.002097/0.002097, allocations: 64.92 kB / 1.149 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4187, allocations: 176.1 MB / 1.321 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.00432/0.423, allocations: 2.005 MB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.4246, allocations: 0.7401 MB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.4247, allocations: 4 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.22e-05/0.4248, allocations: 23.67 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.425, allocations: 39.58 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.4256, allocations: 179.6 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.426, allocations: 331.1 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.4263, allocations: 40.66 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.4266, allocations: 131.7 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.4269, allocations: 155.3 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.154e-05/0.4269, allocations: 35.94 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.427, allocations: 36 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/0.4271, allocations: 75.78 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.4273, allocations: 135.4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.4277, allocations: 322.7 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4277, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4278, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.4278, allocations: 0 / 1.325 GB, free: 14.48 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.001556/0.4293, allocations: 0.6389 MB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/0.4294, allocations: 11.98 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.4298, allocations: 68.7 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.4303, allocations: 240 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.4306, allocations: 272.2 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.4307, allocations: 32.33 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.4313, allocations: 261.9 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.4313, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.4314, allocations: 11.94 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.4314, allocations: 4 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.4319, allocations: 183.8 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.4332, allocations: 0.7699 MB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.4339, allocations: 191.7 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.4342, allocations: 126.5 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.4342, allocations: 15.98 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/0.4348, allocations: 323.8 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/0.4348, allocations: 0 / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.001118/0.4359, allocations: 492.8 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.436, allocations: 110.8 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.4361, allocations: 182.9 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.4362, allocations: 41.7 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.4363, allocations: 121.3 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.4364, allocations: 150.8 kB / 1.33 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.4366, allocations: 110.3 kB / 1.33 GB, free: 9.859 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4368, allocations: 342.8 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.4371, allocations: 149.2 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.4375, allocations: 252.7 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.4382, allocations: 402 kB / 1.331 GB, free: 8.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4382, allocations: 4 kB / 1.331 GB, free: 8.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008843/0.439, allocations: 485.5 kB / 1.331 GB, free: 8.172 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.4391, allocations: 11.98 kB / 1.331 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4391, allocations: 0 / 1.331 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.4391, allocations: 8 kB / 1.331 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.4395, allocations: 95.77 kB / 1.331 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.4395, allocations: 8.156 kB / 1.331 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.4398, allocations: 59.75 kB / 1.331 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.4398, allocations: 27.92 kB / 1.331 GB, free: 7.965 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.0001963/0.44, allocations: 159.5 kB / 1.332 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.4401, allocations: 35.75 kB / 1.332 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.4402, allocations: 33.86 kB / 1.332 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4402, allocations: 4 kB / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.4402, allocations: 4 kB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4402, allocations: 7.938 kB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.4406, allocations: 365.2 kB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4406, allocations: 0 / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.4411, allocations: 79.83 kB / 1.332 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4411, allocations: 4 kB / 1.332 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.4411, allocations: 11.98 kB / 1.332 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4411, allocations: 0 / 1.332 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4411, allocations: 4 kB / 1.332 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4423, allocations: 0.5863 MB / 1.333 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.4424, allocations: 104.8 kB / 1.333 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.4424, allocations: 8 kB / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.4426, allocations: 39.95 kB / 1.333 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.4428, allocations: 51.94 kB / 1.333 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.4428, allocations: 23.98 kB / 1.333 GB, free: 6.359 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001276/0.443, allocations: 127.1 kB / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.443, allocations: 0 / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003453/0.4433, allocations: 84.05 kB / 1.333 GB, free: 6.152 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.0002205/0.4435, allocations: 127.1 kB / 1.333 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007922/0.4443, allocations: 354.7 kB / 1.334 GB, free: 5.672 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4443, allocations: 0 / 1.334 GB, free: 5.672 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.4447, allocations: 185.5 kB / 1.334 GB, free: 5.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4451, allocations: 46.16 kB / 1.334 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4463, allocations: 0.6212 MB / 1.334 GB, free: 4.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.4467, allocations: 0.7728 MB / 1.335 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.4469, allocations: 46.94 kB / 1.335 GB, free: 3.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.447, allocations: 35.44 kB / 1.335 GB, free: 3.914 MB / 1.029 GB Notification: Performance of SimCode: time 9.11e-07/0.447, allocations: 0 / 1.335 GB, free: 3.914 MB / 1.029 GB Notification: Performance of Templates: time 0.009913/0.4569, allocations: 3.985 MB / 1.339 GB, free: 15.96 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 -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.743571259081364]