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.001152/0.001152, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001366/0.001366, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.024/1.024, allocations: 177.1 MB / 204.6 MB, free: 5.629 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 2.005/2.005, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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 2.655e-06/2.655e-06, allocations: 0 / 0.8116 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.467e-05, allocations: 3.562 kB / 0.8116 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002654/0.002689, allocations: 1.074 MB / 0.8126 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.004474, allocations: 1.157 MB / 0.8138 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.004579, allocations: 0 / 0.8138 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.175e-05/0.004631, allocations: 21.34 kB / 0.8138 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.004758, allocations: 43.52 kB / 0.8138 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.005265, allocations: 160.3 kB / 0.814 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.005649, allocations: 331.6 kB / 0.8143 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.005808, allocations: 34.23 kB / 0.8143 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003616/0.006169, allocations: 199.5 kB / 0.8145 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.006364, allocations: 123.6 kB / 0.8147 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.00642, allocations: 32 kB / 0.8147 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.006496, allocations: 32.66 kB / 0.8147 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.006563, allocations: 80.83 kB / 0.8148 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.006667, allocations: 95.72 kB / 0.8149 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.006993, allocations: 239.2 kB / 0.8151 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006996, allocations: 1.156 kB / 0.8151 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006997, allocations: 0 / 0.8151 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.007003, allocations: 0 / 0.8151 GB, free: 13.24 MB / 0.7292 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.001065/0.008068, allocations: 0.6566 MB / 0.8158 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.008115, allocations: 12.03 kB / 0.8158 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.008382, allocations: 72.77 kB / 0.8158 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.008497, allocations: 150.2 kB / 0.816 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.008762, allocations: 0.4926 MB / 0.8165 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.008821, allocations: 28.36 kB / 0.8165 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.009239, allocations: 238.7 kB / 0.8167 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.009256, allocations: 4.188 kB / 0.8167 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.009282, allocations: 4.375 kB / 0.8167 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.009302, allocations: 8.125 kB / 0.8167 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.009823, allocations: 99.86 kB / 0.8168 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.01082, allocations: 0.7721 MB / 0.8176 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.01118, allocations: 169.7 kB / 0.8177 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.01135, allocations: 87.03 kB / 0.8178 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.01138, allocations: 12.52 kB / 0.8178 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.01176, allocations: 264.2 kB / 0.8181 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 2.565e-06/0.01177, allocations: 0 / 0.8181 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0007589/0.01252, allocations: 381.3 kB / 0.8184 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.0126, allocations: 123.1 kB / 0.8186 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.01277, allocations: 237.1 kB / 0.8188 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.0128, allocations: 37.7 kB / 0.8188 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.01289, allocations: 172 kB / 0.819 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.01302, allocations: 150.8 kB / 0.8191 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.01316, allocations: 108 kB / 0.8192 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.01333, allocations: 0.5118 MB / 0.8197 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.01352, allocations: 85.25 kB / 0.8198 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.0138, allocations: 223.8 kB / 0.82 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.01426, allocations: 332 kB / 0.8203 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.01426, allocations: 0 / 0.8203 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006766/0.01494, allocations: 405.8 kB / 0.8207 GB, free: 7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.01496, allocations: 10.03 kB / 0.8207 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.01497, allocations: 4.625 kB / 0.8208 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01499, allocations: 4.844 kB / 0.8208 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.01531, allocations: 95.77 kB / 0.8208 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.01532, allocations: 15.61 kB / 0.8209 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.01553, allocations: 55.77 kB / 0.8209 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.01557, allocations: 23.98 kB / 0.8209 GB, free: 6.801 MB / 0.7292 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.0001628/0.01573, allocations: 190.5 kB / 0.8211 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.0158, allocations: 47.8 kB / 0.8212 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.01587, allocations: 37.95 kB / 0.8212 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.01587, allocations: 5.969 kB / 0.8212 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.01588, allocations: 0 / 0.8212 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.01589, allocations: 11.92 kB / 0.8212 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.01616, allocations: 228.3 kB / 0.8214 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01617, allocations: 0 / 0.8214 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.01649, allocations: 72.84 kB / 0.8215 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.01649, allocations: 4 kB / 0.8215 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.01653, allocations: 11.98 kB / 0.8215 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01653, allocations: 1.125 kB / 0.8215 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.01654, allocations: 7.938 kB / 0.8215 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.0173, allocations: 460 kB / 0.822 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.01734, allocations: 27.75 kB / 0.822 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.01738, allocations: 12 kB / 0.822 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.01754, allocations: 29.03 kB / 0.822 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.01769, allocations: 76.67 kB / 0.8221 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.01772, allocations: 11.94 kB / 0.8221 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.747e-05/0.01782, allocations: 174.9 kB / 0.8223 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01782, allocations: 0 / 0.8223 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003491/0.01817, allocations: 79.94 kB / 0.8224 GB, free: 5.266 MB / 0.7292 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.0001635/0.01833, allocations: 112.5 kB / 0.8225 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.01884, allocations: 285.4 kB / 0.8227 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01884, allocations: 0.7188 kB / 0.8227 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.01909, allocations: 147.5 kB / 0.8229 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.01942, allocations: 51.34 kB / 0.8229 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.02069, allocations: 0.572 MB / 0.8235 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.337e-05/0.02076, allocations: 97.61 kB / 0.8236 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.02091, allocations: 36.97 kB / 0.8236 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.0212, allocations: 48.48 kB / 0.8237 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of SimCode: time 1.343e-06/0.0212, allocations: 0 / 0.8237 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of Templates: time 0.008008/0.02921, allocations: 4.044 MB / 0.8276 GB, free: 15.91 MB / 0.7448 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.4849811650346965]