Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001508/0.001508, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001783/0.001783, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.928/2.928, allocations: 377.8 MB / 0.6232 GB, free: 8.496 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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,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") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8109 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.146e-05, allocations: 2.312 kB / 0.8109 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00228/0.002311, allocations: 1.031 MB / 0.8119 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.00409, allocations: 1.134 MB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.004169, allocations: 0 / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.755e-05/0.004227, allocations: 20.77 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.00436, allocations: 44.3 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.004901, allocations: 165.3 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.005312, allocations: 331 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.005462, allocations: 40.41 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.005823, allocations: 201.1 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.00604, allocations: 115.6 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.0061, allocations: 31.98 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.282e-05/0.006183, allocations: 36 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.006269, allocations: 76.83 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.006397, allocations: 103.7 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.00685, allocations: 336.6 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006853, allocations: 0 / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.61e-07/0.006854, allocations: 0 / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.006861, allocations: 7.922 kB / 0.8144 GB, free: 14.34 MB / 0.7761 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.001399/0.008261, allocations: 0.5555 MB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.008297, allocations: 8.625 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004068/0.008704, allocations: 82.66 kB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.00887, allocations: 142.8 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/0.009312, allocations: 495.7 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.009392, allocations: 36.3 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.009962, allocations: 260.5 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.00998, allocations: 192 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.01001, allocations: 14.11 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.01002, allocations: 8.125 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.01051, allocations: 179.8 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.01195, allocations: 0.6585 MB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.01253, allocations: 194.4 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.01283, allocations: 126.5 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.01288, allocations: 11.98 kB / 0.8171 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006618/0.01354, allocations: 304.4 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.834e-06/0.01354, allocations: 1.531 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001274/0.01481, allocations: 0.498 MB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.01493, allocations: 120.6 kB / 0.818 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.01515, allocations: 180 kB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.01521, allocations: 41.7 kB / 0.8182 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.01533, allocations: 121.3 kB / 0.8183 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.0155, allocations: 161.4 kB / 0.8185 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.01567, allocations: 102.3 kB / 0.8186 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.01588, allocations: 338.8 kB / 0.8189 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.01624, allocations: 149.2 kB / 0.8191 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.01669, allocations: 252.7 kB / 0.8193 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.01746, allocations: 399.6 kB / 0.8197 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.01746, allocations: 0 / 0.8197 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001055/0.01852, allocations: 0.506 MB / 0.8202 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.01854, allocations: 8.844 kB / 0.8202 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.01855, allocations: 4 kB / 0.8202 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.01858, allocations: 7.688 kB / 0.8202 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.019, allocations: 91.83 kB / 0.8203 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.01902, allocations: 15.92 kB / 0.8203 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.01932, allocations: 51.75 kB / 0.8203 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.01936, allocations: 24 kB / 0.8204 GB, free: 7.875 MB / 0.7761 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.0002003/0.01956, allocations: 153.4 kB / 0.8205 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.01966, allocations: 51.86 kB / 0.8206 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.773e-05/0.01973, allocations: 33.97 kB / 0.8206 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.01974, allocations: 8 kB / 0.8206 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.01975, allocations: 0.9688 kB / 0.8206 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.01976, allocations: 7.922 kB / 0.8206 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.02012, allocations: 237 kB / 0.8208 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02013, allocations: 1.094 kB / 0.8208 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.02057, allocations: 75.89 kB / 0.8209 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.02057, allocations: 5.125 kB / 0.8209 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.02061, allocations: 11.98 kB / 0.8209 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.02062, allocations: 3.938 kB / 0.8209 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02062, allocations: 5.094 kB / 0.8209 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.02192, allocations: 0.6026 MB / 0.8215 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.02196, allocations: 29.62 kB / 0.8215 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.02202, allocations: 12 kB / 0.8216 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.02227, allocations: 31.95 kB / 0.8216 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.02244, allocations: 69.22 kB / 0.8217 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.02247, allocations: 12 kB / 0.8217 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001221/0.02259, allocations: 125.2 kB / 0.8218 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02259, allocations: 0 / 0.8218 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003503/0.02294, allocations: 84.91 kB / 0.8219 GB, free: 6.285 MB / 0.7761 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.0001981/0.02314, allocations: 117.8 kB / 0.822 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008439/0.02399, allocations: 364.8 kB / 0.8223 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02399, allocations: 0 / 0.8223 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.02443, allocations: 185.4 kB / 0.8225 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.0248, allocations: 52.41 kB / 0.8226 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.02612, allocations: 0.5807 MB / 0.8231 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.0263, allocations: 164 kB / 0.8233 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.02647, allocations: 38.97 kB / 0.8233 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.02661, allocations: 40.48 kB / 0.8234 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.02661, allocations: 0 / 0.8234 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of Templates: time 0.009782/0.03639, allocations: 4.035 MB / 0.8273 GB, free: 0.75 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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: 8.088094915961847]