Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000929/0.000929, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.000954/0.000954, allocations: 173 kB / 23.36 MB, free: 1.129 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.9862/0.9862, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.374/2.374, 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_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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.855e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002597/0.002626, allocations: 1.975 MB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003883, allocations: 0.7322 MB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.003969, allocations: 3.938 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.004011, allocations: 15.75 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.004114, allocations: 51.5 kB / 0.8414 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.004499, allocations: 179.5 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.004758, allocations: 335 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.004878, allocations: 42.83 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.00511, allocations: 207.5 kB / 0.8421 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.005241, allocations: 115.6 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.005276, allocations: 28 kB / 0.8422 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.005332, allocations: 32 kB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.005381, allocations: 79.77 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.005447, allocations: 99.72 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.005654, allocations: 235.2 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005657, allocations: 3.938 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005658, allocations: 0 / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.005663, allocations: 4 kB / 0.8427 GB, free: 9.996 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.0006536/0.006317, allocations: 0.535 MB / 0.8432 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.006353, allocations: 12.62 kB / 0.8432 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.006544, allocations: 68.88 kB / 0.8433 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.006748, allocations: 178 kB / 0.8434 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.006968, allocations: 499.7 kB / 0.8439 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.007012, allocations: 28.38 kB / 0.8439 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.007245, allocations: 211.8 kB / 0.8441 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.007263, allocations: 8.141 kB / 0.8442 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.007283, allocations: 12.11 kB / 0.8442 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.007292, allocations: 8 kB / 0.8442 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.007405, allocations: 75.33 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.007971, allocations: 0.4962 MB / 0.8447 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.008166, allocations: 123.9 kB / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.008233, allocations: 74.48 kB / 0.8449 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.008263, allocations: 11.98 kB / 0.8449 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.008481, allocations: 252.2 kB / 0.8452 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=48): time 2.325e-06/0.008483, allocations: 0 / 0.8452 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.0003118/0.008795, allocations: 245.4 kB / 0.8454 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.00885, allocations: 115.2 kB / 0.8455 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.008954, allocations: 195.5 kB / 0.8457 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.008979, allocations: 37.7 kB / 0.8457 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.009025, allocations: 113.3 kB / 0.8458 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.009108, allocations: 154.7 kB / 0.846 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.009199, allocations: 110.3 kB / 0.8461 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.009286, allocations: 338.8 kB / 0.8464 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.009355, allocations: 61.28 kB / 0.8465 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.009473, allocations: 168.7 kB / 0.8466 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.009708, allocations: 261.9 kB / 0.8469 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.009712, allocations: 0 / 0.8469 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002773/0.009989, allocations: 289.3 kB / 0.8472 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01, allocations: 8 kB / 0.8472 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01001, allocations: 0 / 0.8472 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.01003, allocations: 11.98 kB / 0.8472 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.01022, allocations: 91.83 kB / 0.8473 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.01023, allocations: 4 kB / 0.8473 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.01036, allocations: 67.64 kB / 0.8473 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.01038, allocations: 12 kB / 0.8474 GB, free: 4.797 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.0001185/0.0105, allocations: 151.7 kB / 0.8475 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.01054, allocations: 35.97 kB / 0.8475 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.01058, allocations: 29.97 kB / 0.8476 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01059, allocations: 4 kB / 0.8476 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.01059, allocations: 0 / 0.8476 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.0106, allocations: 15.92 kB / 0.8476 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.01079, allocations: 177.5 kB / 0.8477 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.0108, allocations: 0 / 0.8477 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.01101, allocations: 63.91 kB / 0.8478 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01101, allocations: 7.938 kB / 0.8478 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.01105, allocations: 15.98 kB / 0.8478 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.01105, allocations: 4 kB / 0.8478 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01105, allocations: 4.062 kB / 0.8478 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.01177, allocations: 334.6 kB / 0.8482 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.0118, allocations: 23.8 kB / 0.8482 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.01183, allocations: 19.98 kB / 0.8482 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.01192, allocations: 31.91 kB / 0.8482 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.01201, allocations: 59.91 kB / 0.8483 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.01203, allocations: 15.98 kB / 0.8483 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.01207, allocations: 49.98 kB / 0.8483 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01207, allocations: 0 / 0.8483 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002047/0.01227, allocations: 83.89 kB / 0.8484 GB, free: 3.645 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 0.0001522/0.01242, allocations: 105.4 kB / 0.8485 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01268, allocations: 239.2 kB / 0.8488 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.01269, allocations: 0 / 0.8488 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.01281, allocations: 113.7 kB / 0.8489 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.01301, allocations: 51.97 kB / 0.8489 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008579/0.01386, allocations: 0.5635 MB / 0.8495 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.01392, allocations: 105.5 kB / 0.8496 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.463e-05/0.01401, allocations: 42.95 kB / 0.8496 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.01416, allocations: 107.4 kB / 0.8497 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.01416, allocations: 0 / 0.8497 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of Templates: time 0.005955/0.02011, allocations: 3.955 MB / 0.8536 GB, free: 14.37 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.259588473942131]