Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009598/0.0009598, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001032/0.001032, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.107/1.107, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.5/2.5, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 0.8387 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.225e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001643/0.001666, allocations: 1.091 MB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003041, allocations: 1.174 MB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.003106, allocations: 4 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.003146, allocations: 15.75 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.891e-05/0.003244, allocations: 43.52 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.003607, allocations: 151.7 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.003864, allocations: 335 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003996, allocations: 50.45 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.004245, allocations: 191.6 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.004396, allocations: 119.6 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.004435, allocations: 32 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.004513, allocations: 35.98 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.004564, allocations: 79.77 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.00463, allocations: 95.78 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.00483, allocations: 235.2 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.004833, allocations: 4 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004833, allocations: 0 / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.686e-06/0.004837, allocations: 4 kB / 0.8423 GB, free: 10.39 MB / 0.8073 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.0006252/0.005462, allocations: 0.5273 MB / 0.8428 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.005494, allocations: 16.61 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.005681, allocations: 68.88 kB / 0.8429 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.00578, allocations: 143.5 kB / 0.843 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.005977, allocations: 0.4919 MB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.006012, allocations: 28.38 kB / 0.8435 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.00623, allocations: 211.7 kB / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.006244, allocations: 4.141 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.00626, allocations: 12.38 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.006268, allocations: 12.06 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.006373, allocations: 71.89 kB / 0.8438 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.006923, allocations: 0.504 MB / 0.8443 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.007125, allocations: 127.6 kB / 0.8444 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.0072, allocations: 67.69 kB / 0.8445 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.007229, allocations: 8 kB / 0.8445 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.007473, allocations: 256.2 kB / 0.8447 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=48): time 1.523e-06/0.007474, allocations: 0 / 0.8447 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.0003242/0.007798, allocations: 241.9 kB / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.007855, allocations: 122.7 kB / 0.8451 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007955, allocations: 179.7 kB / 0.8452 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.007983, allocations: 41.7 kB / 0.8453 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.008024, allocations: 113.3 kB / 0.8454 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.008104, allocations: 146.8 kB / 0.8455 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.008196, allocations: 114.3 kB / 0.8456 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.008287, allocations: 342.7 kB / 0.846 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.008359, allocations: 57.28 kB / 0.846 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.008479, allocations: 168.7 kB / 0.8462 GB, free: 6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.008689, allocations: 261.9 kB / 0.8464 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.008692, allocations: 4 kB / 0.8464 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002604/0.008953, allocations: 281.2 kB / 0.8467 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.008964, allocations: 4 kB / 0.8467 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.008969, allocations: 4 kB / 0.8467 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.008986, allocations: 8 kB / 0.8467 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.00919, allocations: 99.83 kB / 0.8468 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.009196, allocations: 11.94 kB / 0.8468 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.009314, allocations: 63.77 kB / 0.8469 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.009335, allocations: 19.94 kB / 0.8469 GB, free: 5.215 MB / 0.8073 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 9.014e-05/0.009425, allocations: 151.6 kB / 0.847 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.009461, allocations: 35.97 kB / 0.8471 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.009494, allocations: 29.97 kB / 0.8471 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.009498, allocations: 8 kB / 0.8471 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.0095, allocations: 0 / 0.8471 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.009506, allocations: 3.984 kB / 0.8471 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.009662, allocations: 177.5 kB / 0.8473 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.009666, allocations: 3.984 kB / 0.8473 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.00988, allocations: 71.91 kB / 0.8474 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.009883, allocations: 96 / 0.8474 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.009904, allocations: 19.97 kB / 0.8474 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.009908, allocations: 4 kB / 0.8474 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009909, allocations: 0 / 0.8474 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.01025, allocations: 334.8 kB / 0.8477 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.01027, allocations: 23.8 kB / 0.8477 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.0103, allocations: 11.98 kB / 0.8477 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.01039, allocations: 35.97 kB / 0.8478 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.01049, allocations: 63.84 kB / 0.8478 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.01051, allocations: 15.98 kB / 0.8479 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.01055, allocations: 50.77 kB / 0.8479 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01055, allocations: 0 / 0.8479 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001766/0.01072, allocations: 75.95 kB / 0.848 GB, free: 4.074 MB / 0.8073 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.563e-05/0.01082, allocations: 105.1 kB / 0.8481 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.01106, allocations: 239.3 kB / 0.8483 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01106, allocations: 0 / 0.8483 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.01118, allocations: 121.5 kB / 0.8484 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.01134, allocations: 44.12 kB / 0.8485 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.01208, allocations: 0.571 MB / 0.849 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.015e-05/0.01213, allocations: 97.61 kB / 0.8491 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.153e-05/0.01222, allocations: 38.91 kB / 0.8491 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.01236, allocations: 107.3 kB / 0.8492 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.01236, allocations: 0 / 0.8492 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.00538/0.01774, allocations: 3.933 MB / 0.8531 GB, free: 14.82 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.508200746029615]