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.0009767/0.0009767, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001071/0.001071, allocations: 181 kB / 23.36 MB, free: 1.133 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.9762/0.9762, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.406/2.406, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.663e-06/1.663e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.854e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001422/0.00144, allocations: 1.051 MB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002543, allocations: 1.17 MB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.002598, allocations: 4 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.002632, allocations: 19.69 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.002715, allocations: 47.52 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.00304, allocations: 151.7 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.003265, allocations: 335 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.003358, allocations: 42.47 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.00357, allocations: 207.5 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.003692, allocations: 111.7 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.00373, allocations: 28 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.962e-05/0.003779, allocations: 32 kB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.003827, allocations: 83.7 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.003891, allocations: 103.8 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.004077, allocations: 231.2 kB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004079, allocations: 0 / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004079, allocations: 0 / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004083, allocations: 0 / 0.8422 GB, free: 10.54 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.0006493/0.004732, allocations: 0.539 MB / 0.8427 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.004766, allocations: 8.625 kB / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.004947, allocations: 68.88 kB / 0.8428 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.00505, allocations: 155.4 kB / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.005266, allocations: 495.7 kB / 0.8434 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.005304, allocations: 28.38 kB / 0.8434 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.005509, allocations: 211.8 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.005521, allocations: 8.141 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.005535, allocations: 8.375 kB / 0.8436 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.005544, allocations: 12.12 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.619e-05/0.00564, allocations: 67.84 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.006151, allocations: 0.5001 MB / 0.8442 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.006332, allocations: 135.6 kB / 0.8443 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.006397, allocations: 62.56 kB / 0.8444 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.006421, allocations: 11.98 kB / 0.8444 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.006625, allocations: 248.2 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=48): time 1.383e-06/0.006627, allocations: 0 / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.0003008/0.006927, allocations: 253.8 kB / 0.8449 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.006988, allocations: 118.8 kB / 0.845 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.007079, allocations: 171.7 kB / 0.8451 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.007105, allocations: 41.7 kB / 0.8452 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.007147, allocations: 113.3 kB / 0.8453 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.00723, allocations: 158.8 kB / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.007318, allocations: 106.3 kB / 0.8455 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.007409, allocations: 350.7 kB / 0.8459 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.007476, allocations: 53.28 kB / 0.8459 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.007602, allocations: 164.7 kB / 0.8461 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.007829, allocations: 265.9 kB / 0.8463 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.007832, allocations: 0 / 0.8463 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002901/0.008122, allocations: 285.3 kB / 0.8466 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.008137, allocations: 9.875 kB / 0.8466 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.008142, allocations: 0 / 0.8466 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.008158, allocations: 15.94 kB / 0.8466 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.008351, allocations: 95.83 kB / 0.8467 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.008358, allocations: 4 kB / 0.8467 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.00848, allocations: 59.7 kB / 0.8468 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.0085, allocations: 23.92 kB / 0.8468 GB, free: 5.359 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 0.0001069/0.008607, allocations: 147.7 kB / 0.847 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.008646, allocations: 39.97 kB / 0.847 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.008683, allocations: 33.97 kB / 0.847 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.008687, allocations: 4 kB / 0.847 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.008691, allocations: 0 / 0.847 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.008698, allocations: 7.984 kB / 0.847 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.008859, allocations: 173.5 kB / 0.8472 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008861, allocations: 0 / 0.8472 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.00905, allocations: 67.91 kB / 0.8473 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.009054, allocations: 4 kB / 0.8473 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.009075, allocations: 15.98 kB / 0.8473 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.009078, allocations: 3.938 kB / 0.8473 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.009079, allocations: 4 kB / 0.8473 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.009417, allocations: 330.8 kB / 0.8476 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.009437, allocations: 27.8 kB / 0.8476 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.009463, allocations: 11.98 kB / 0.8476 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.009554, allocations: 31.97 kB / 0.8477 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.009637, allocations: 63.84 kB / 0.8477 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.009652, allocations: 11.98 kB / 0.8477 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.06e-05/0.009683, allocations: 42.78 kB / 0.8478 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009683, allocations: 4 kB / 0.8478 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001815/0.009864, allocations: 83.95 kB / 0.8479 GB, free: 4.227 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 8.432e-05/0.009948, allocations: 97.14 kB / 0.848 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.0102, allocations: 254.7 kB / 0.8482 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.0102, allocations: 0 / 0.8482 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.01031, allocations: 113.7 kB / 0.8483 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.01046, allocations: 43.97 kB / 0.8484 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000978/0.01144, allocations: 0.5631 MB / 0.8489 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.125e-05/0.0115, allocations: 93.61 kB / 0.849 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.01162, allocations: 38.97 kB / 0.849 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.01176, allocations: 119.3 kB / 0.8491 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/0.01177, allocations: 0 / 0.8491 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of Templates: time 0.00563/0.0174, allocations: 3.948 MB / 0.853 GB, free: 14.96 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 -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.34498672792688]