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.0009847/0.0009847, 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.0009883/0.0009883, 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 1.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.957/1.957, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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_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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.589e-05, allocations: 8.922 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002163/0.002189, allocations: 1.995 MB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.003117, allocations: 0.7125 MB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.0032, allocations: 4 kB / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.544e-05/0.003246, allocations: 19.69 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.003351, allocations: 52.84 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.003822, allocations: 176.2 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.004106, allocations: 344.3 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.004234, allocations: 28.92 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.004482, allocations: 203.5 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.004615, allocations: 120.8 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.004654, allocations: 32 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.697e-05/0.004711, allocations: 32 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.004757, allocations: 81.14 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.004826, allocations: 95.72 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.005049, allocations: 239.2 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005051, allocations: 1.344 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005052, allocations: 0 / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.005057, allocations: 0 / 0.8156 GB, free: 13.57 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.0008071/0.005864, allocations: 0.6646 MB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.005903, allocations: 8.031 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.006118, allocations: 76.77 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.006375, allocations: 198.7 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.006617, allocations: 499.7 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.006663, allocations: 28.38 kB / 0.817 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.006982, allocations: 232.3 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.006998, allocations: 4.141 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.007021, allocations: 12.78 kB / 0.8173 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.007031, allocations: 4.531 kB / 0.8173 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.007198, allocations: 99.84 kB / 0.8174 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007831/0.007981, allocations: 0.7764 MB / 0.8181 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.008278, allocations: 173.9 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.008391, allocations: 87.02 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.008428, allocations: 17.19 kB / 0.8184 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.008707, allocations: 262.3 kB / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.008709, allocations: 0 / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.0005647/0.009273, allocations: 385.8 kB / 0.819 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.009335, allocations: 118.8 kB / 0.8191 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.009475, allocations: 241.1 kB / 0.8194 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.009504, allocations: 37.7 kB / 0.8194 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.009577, allocations: 168.1 kB / 0.8196 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.009671, allocations: 158.7 kB / 0.8197 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.009777, allocations: 113.2 kB / 0.8198 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.009917, allocations: 0.5079 MB / 0.8203 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.01005, allocations: 85.25 kB / 0.8204 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.01025, allocations: 228.5 kB / 0.8206 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.01057, allocations: 328 kB / 0.8209 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01058, allocations: 0 / 0.8209 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004522/0.01103, allocations: 405 kB / 0.8213 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01104, allocations: 9.719 kB / 0.8213 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01105, allocations: 2.5 kB / 0.8213 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.01107, allocations: 8 kB / 0.8213 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.01128, allocations: 95.77 kB / 0.8214 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.01129, allocations: 7.984 kB / 0.8214 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.01142, allocations: 56.84 kB / 0.8215 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.01145, allocations: 23.98 kB / 0.8215 GB, free: 7.059 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.0001248/0.01157, allocations: 203.5 kB / 0.8217 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.01162, allocations: 35.86 kB / 0.8217 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.01167, allocations: 38.92 kB / 0.8218 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01167, allocations: 7.938 kB / 0.8218 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.01168, allocations: 3.938 kB / 0.8218 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.01169, allocations: 12.42 kB / 0.8218 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.01188, allocations: 233.9 kB / 0.822 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01188, allocations: 4 kB / 0.822 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.01208, allocations: 63.91 kB / 0.8221 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01208, allocations: 4.094 kB / 0.8221 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.01212, allocations: 20.66 kB / 0.8221 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.01212, allocations: 5.344 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01212, allocations: 0 / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.01266, allocations: 467 kB / 0.8226 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.01269, allocations: 28.56 kB / 0.8226 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.01272, allocations: 15.98 kB / 0.8226 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01282, allocations: 29.28 kB / 0.8226 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.01293, allocations: 67.91 kB / 0.8227 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.01295, allocations: 23.12 kB / 0.8227 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.753e-05/0.01303, allocations: 163.1 kB / 0.8229 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01303, allocations: 0 / 0.8229 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002393/0.01327, allocations: 80 kB / 0.823 GB, free: 5.527 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.0001041/0.01337, allocations: 116.3 kB / 0.8231 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.01374, allocations: 288.2 kB / 0.8233 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01375, allocations: 0 / 0.8233 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.01391, allocations: 136.5 kB / 0.8235 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01415, allocations: 53.27 kB / 0.8235 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/0.01507, allocations: 0.5832 MB / 0.8241 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.01513, allocations: 97.61 kB / 0.8242 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.267e-05/0.01522, allocations: 37.98 kB / 0.8242 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.173e-05/0.01531, allocations: 46.16 kB / 0.8243 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.01532, allocations: 3.938 kB / 0.8243 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.006039/0.02135, allocations: 4.047 MB / 0.8282 GB, free: 140 kB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] 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","",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.624223966151476]