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.000966/0.000966, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001057/0.001057, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9911/0.9911, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.918/1.918, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.513e-06/1.513e-06, allocations: 0 / 0.8116 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.441e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001359/0.001373, allocations: 1.078 MB / 0.8127 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.002361, allocations: 1.156 MB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.00242, allocations: 4 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.002464, allocations: 21.11 kB / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.002554, allocations: 44.86 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.002889, allocations: 159.7 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.003121, allocations: 327 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.003237, allocations: 41.09 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.003499, allocations: 197 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.003625, allocations: 115.6 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.00366, allocations: 28 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.88e-05/0.003719, allocations: 37.92 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.003763, allocations: 83.7 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.003825, allocations: 95.78 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.004032, allocations: 235.2 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004035, allocations: 0 / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004035, allocations: 1.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004039, allocations: 0 / 0.8151 GB, free: 13.93 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.000737/0.004776, allocations: 0.6583 MB / 0.8158 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.004811, allocations: 9.438 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.005, allocations: 76.72 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.446e-05/0.005094, allocations: 142.3 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.005313, allocations: 0.4924 MB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.005353, allocations: 33.73 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.005638, allocations: 232.3 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.005653, allocations: 4.141 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.005672, allocations: 13.52 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.005682, allocations: 8.125 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.00584, allocations: 95.81 kB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.006525, allocations: 0.772 MB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.006778, allocations: 174.4 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.006882, allocations: 87.02 kB / 0.8178 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.00691, allocations: 8 kB / 0.8178 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.007174, allocations: 279.3 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.563e-06/0.007175, allocations: 1.312 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.0005011/0.007677, allocations: 372.6 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.00773, allocations: 119.1 kB / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.007854, allocations: 234.6 kB / 0.8188 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.007881, allocations: 38.92 kB / 0.8188 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.007948, allocations: 168 kB / 0.819 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.008039, allocations: 158.8 kB / 0.8192 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.008138, allocations: 109.8 kB / 0.8193 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.008275, allocations: 0.5118 MB / 0.8198 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.008396, allocations: 85.27 kB / 0.8198 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.008589, allocations: 226.7 kB / 0.8201 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.008898, allocations: 316 kB / 0.8204 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.008903, allocations: 6.5 kB / 0.8204 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004231/0.009326, allocations: 405.1 kB / 0.8208 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.009341, allocations: 4 kB / 0.8208 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.009347, allocations: 12 kB / 0.8208 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.009362, allocations: 4 kB / 0.8208 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.009559, allocations: 95.83 kB / 0.8209 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.009568, allocations: 8.438 kB / 0.8209 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.009686, allocations: 57.78 kB / 0.8209 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.009708, allocations: 23.94 kB / 0.8209 GB, free: 7.488 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.0001633/0.009871, allocations: 203.1 kB / 0.8211 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.009913, allocations: 47.81 kB / 0.8212 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.009955, allocations: 35.3 kB / 0.8212 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.009959, allocations: 4 kB / 0.8212 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.009964, allocations: 4 kB / 0.8212 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.009969, allocations: 4.75 kB / 0.8212 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01015, allocations: 228.4 kB / 0.8215 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01015, allocations: 0.6562 kB / 0.8215 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.01035, allocations: 71.89 kB / 0.8215 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01035, allocations: 4.656 kB / 0.8215 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.01037, allocations: 15.11 kB / 0.8215 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.01038, allocations: 4 kB / 0.8215 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01038, allocations: 3.938 kB / 0.8215 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.01086, allocations: 462.9 kB / 0.822 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.01088, allocations: 27.78 kB / 0.822 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.01091, allocations: 12 kB / 0.822 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.011, allocations: 30.38 kB / 0.8221 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.0111, allocations: 75.78 kB / 0.8221 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.01112, allocations: 19.92 kB / 0.8221 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.798e-05/0.01119, allocations: 165.1 kB / 0.8223 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01119, allocations: 0 / 0.8223 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002082/0.0114, allocations: 76 kB / 0.8224 GB, free: 5.957 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 9.357e-05/0.01149, allocations: 117.2 kB / 0.8225 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.01183, allocations: 281.9 kB / 0.8228 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01183, allocations: 1.125 kB / 0.8228 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.01206, allocations: 140.4 kB / 0.8229 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.01228, allocations: 58.47 kB / 0.8229 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.01311, allocations: 0.5721 MB / 0.8235 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.01316, allocations: 97.52 kB / 0.8236 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.01e-05/0.01325, allocations: 43.64 kB / 0.8236 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.01334, allocations: 40.5 kB / 0.8237 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.01334, allocations: 0 / 0.8237 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of Templates: time 0.005817/0.01916, allocations: 4.248 MB / 0.8278 GB, free: 388 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.319829312618822]