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.001212/0.001212, 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.001398/0.001398, 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.023/1.023, allocations: 177.1 MB / 204.2 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.002/2.002, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.663e-06/1.663e-06, allocations: 4.484 kB / 0.8116 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.317e-05, allocations: 2.906 kB / 0.8116 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001632/0.001655, allocations: 1.082 MB / 0.8127 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.002885, allocations: 1.161 MB / 0.8138 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.002987, allocations: 0 / 0.8138 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.003041, allocations: 19.69 kB / 0.8138 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.003146, allocations: 45.55 kB / 0.8139 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.003624, allocations: 159.6 kB / 0.814 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000327/0.003951, allocations: 335.9 kB / 0.8143 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.004103, allocations: 28.58 kB / 0.8144 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.004393, allocations: 204.1 kB / 0.8146 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.004539, allocations: 116.4 kB / 0.8147 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.004579, allocations: 28.91 kB / 0.8147 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.004645, allocations: 35.98 kB / 0.8147 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.004695, allocations: 71.78 kB / 0.8148 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.004772, allocations: 108.4 kB / 0.8149 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.005022, allocations: 236 kB / 0.8151 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005025, allocations: 3.938 kB / 0.8151 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005026, allocations: 0 / 0.8151 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.005031, allocations: 5.219 kB / 0.8151 GB, free: 12.91 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.0008408/0.005872, allocations: 0.6506 MB / 0.8158 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.005912, allocations: 9.406 kB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.006123, allocations: 80.77 kB / 0.8159 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.006246, allocations: 146.2 kB / 0.816 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.006502, allocations: 0.4886 MB / 0.8165 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.006729, allocations: 33.48 kB / 0.8165 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.007095, allocations: 224.3 kB / 0.8167 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.007117, allocations: 12.11 kB / 0.8167 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.007142, allocations: 9.094 kB / 0.8167 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.00716, allocations: 8.125 kB / 0.8167 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.007331, allocations: 86.19 kB / 0.8168 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.008111, allocations: 0.7787 MB / 0.8176 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.008405, allocations: 178.2 kB / 0.8178 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.008511, allocations: 83.03 kB / 0.8178 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.008546, allocations: 12.75 kB / 0.8178 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.00882, allocations: 267 kB / 0.8181 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/0.008822, allocations: 0 / 0.8181 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.000532/0.009354, allocations: 390.5 kB / 0.8185 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.009407, allocations: 119.1 kB / 0.8186 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.009536, allocations: 230.6 kB / 0.8188 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.009565, allocations: 43.58 kB / 0.8189 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.009635, allocations: 172 kB / 0.819 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.009726, allocations: 150.8 kB / 0.8192 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.009833, allocations: 108 kB / 0.8193 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.009976, allocations: 0.5118 MB / 0.8198 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.01011, allocations: 88.7 kB / 0.8198 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.01031, allocations: 222.7 kB / 0.8201 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.01064, allocations: 332 kB / 0.8204 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01064, allocations: 0 / 0.8204 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004677/0.01111, allocations: 409.1 kB / 0.8208 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01113, allocations: 4 kB / 0.8208 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01113, allocations: 4 kB / 0.8208 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.01116, allocations: 4 kB / 0.8208 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.01136, allocations: 95.83 kB / 0.8209 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.01137, allocations: 12.62 kB / 0.8209 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.0115, allocations: 52.81 kB / 0.8209 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.01153, allocations: 20 kB / 0.821 GB, free: 6.473 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.0001212/0.01165, allocations: 200.3 kB / 0.8211 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.01169, allocations: 43.81 kB / 0.8212 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.01174, allocations: 33.95 kB / 0.8212 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01174, allocations: 8.594 kB / 0.8212 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.01175, allocations: 0.625 kB / 0.8212 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01176, allocations: 3.938 kB / 0.8212 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.01194, allocations: 234.3 kB / 0.8215 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01194, allocations: 3.984 kB / 0.8215 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.01215, allocations: 67.91 kB / 0.8215 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01215, allocations: 4 kB / 0.8215 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.01218, allocations: 15.98 kB / 0.8215 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.01218, allocations: 4.531 kB / 0.8215 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01218, allocations: 0.8125 kB / 0.8215 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.01271, allocations: 462.8 kB / 0.822 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.01273, allocations: 32.69 kB / 0.822 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.01276, allocations: 8 kB / 0.822 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.01286, allocations: 33.38 kB / 0.8221 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.01296, allocations: 71.83 kB / 0.8221 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.01298, allocations: 16.97 kB / 0.8221 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.664e-05/0.01305, allocations: 165.1 kB / 0.8223 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01305, allocations: 2.312 kB / 0.8223 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002227/0.01327, allocations: 83.92 kB / 0.8224 GB, free: 4.934 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 9.782e-05/0.01337, allocations: 118 kB / 0.8225 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.01372, allocations: 290.4 kB / 0.8228 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01372, allocations: 0 / 0.8228 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.01389, allocations: 145.4 kB / 0.8229 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01412, allocations: 49.88 kB / 0.823 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.01518, allocations: 0.5707 MB / 0.8235 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.01524, allocations: 94.14 kB / 0.8236 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.932e-05/0.01533, allocations: 38.78 kB / 0.8236 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.01542, allocations: 41.58 kB / 0.8237 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.01542, allocations: 4 kB / 0.8237 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of Templates: time 0.005633/0.02106, allocations: 4.037 MB / 0.8276 GB, free: 15.59 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.501901858951896]