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.001011/0.001011, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0011/0.0011, allocations: 173 kB / 23.49 MB, free: 1.062 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.9828/0.9828, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.1/2.1, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 4.118e-06/4.118e-06, allocations: 0 / 0.8783 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/4.119e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002651/0.002692, allocations: 1.086 MB / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.004551, allocations: 1.153 MB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.004697, allocations: 5.594 kB / 0.8805 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.535e-05/0.004762, allocations: 23.67 kB / 0.8805 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.004919, allocations: 41.23 kB / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.005561, allocations: 155.7 kB / 0.8807 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.006067, allocations: 327 kB / 0.881 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.0063, allocations: 51.33 kB / 0.881 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.006813, allocations: 191.6 kB / 0.8812 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.007024, allocations: 115.7 kB / 0.8813 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.007079, allocations: 32 kB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-05/0.007163, allocations: 32 kB / 0.8814 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.007233, allocations: 79.7 kB / 0.8815 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.007342, allocations: 99.77 kB / 0.8816 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.007714, allocations: 239.9 kB / 0.8818 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.007719, allocations: 0 / 0.8818 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.532e-06/0.007721, allocations: 1.656 kB / 0.8818 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.007728, allocations: 0 / 0.8818 GB, free: 2.992 MB / 0.8386 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.001185/0.008913, allocations: 0.6572 MB / 0.8824 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.008969, allocations: 12.03 kB / 0.8824 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.009358, allocations: 72.77 kB / 0.8825 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.009531, allocations: 149.1 kB / 0.8826 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.009881, allocations: 499.7 kB / 0.8831 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.009958, allocations: 32.31 kB / 0.8832 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.01043, allocations: 232.3 kB / 0.8834 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.01045, allocations: 4.188 kB / 0.8834 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.01048, allocations: 8.359 kB / 0.8834 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.01049, allocations: 8.125 kB / 0.8834 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.01075, allocations: 96.97 kB / 0.8835 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.01186, allocations: 0.7664 MB / 0.8842 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.01227, allocations: 169.2 kB / 0.8844 GB, free: 32 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.01246, allocations: 99.14 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.01251, allocations: 8 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.01293, allocations: 266.2 kB / 0.8848 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 3.316e-06/0.01294, allocations: 0 / 0.8848 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.0008334/0.01377, allocations: 391.3 kB / 0.8851 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.01385, allocations: 115.2 kB / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.01404, allocations: 232 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.01408, allocations: 41.7 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.01417, allocations: 164 kB / 0.8857 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.01431, allocations: 154.8 kB / 0.8858 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.01446, allocations: 116 kB / 0.8859 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.01463, allocations: 0.5079 MB / 0.8864 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.01482, allocations: 89.19 kB / 0.8865 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.01509, allocations: 226.7 kB / 0.8867 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.01557, allocations: 324 kB / 0.887 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.01558, allocations: 0 / 0.887 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007089/0.01629, allocations: 405.1 kB / 0.8874 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.01631, allocations: 8 kB / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.01632, allocations: 4 kB / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.01635, allocations: 4 kB / 0.8874 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.01671, allocations: 95.83 kB / 0.8875 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.01673, allocations: 11.94 kB / 0.8875 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.01697, allocations: 55.7 kB / 0.8876 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.01701, allocations: 24 kB / 0.8876 GB, free: 12.53 MB / 0.8542 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.0002053/0.01721, allocations: 198.4 kB / 0.8878 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.0173, allocations: 43.8 kB / 0.8878 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.01737, allocations: 33.97 kB / 0.8879 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.01738, allocations: 7.984 kB / 0.8879 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.01738, allocations: 3.938 kB / 0.8879 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.01739, allocations: 7.938 kB / 0.8879 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.0177, allocations: 232.4 kB / 0.8881 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.0177, allocations: 0 / 0.8881 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.01805, allocations: 71.89 kB / 0.8882 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.01806, allocations: 4 kB / 0.8882 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.0181, allocations: 15.98 kB / 0.8882 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.0181, allocations: 64 / 0.8882 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.01811, allocations: 8.703 kB / 0.8882 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.01895, allocations: 467 kB / 0.8886 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.019, allocations: 31.73 kB / 0.8887 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.01905, allocations: 12 kB / 0.8887 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.01922, allocations: 27.97 kB / 0.8887 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.01938, allocations: 67.84 kB / 0.8888 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.01942, allocations: 19.98 kB / 0.8888 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001175/0.01953, allocations: 160.2 kB / 0.8889 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01953, allocations: 0 / 0.8889 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004321/0.01997, allocations: 84 kB / 0.889 GB, free: 11 MB / 0.8542 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.0001932/0.02016, allocations: 115.2 kB / 0.8891 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006444/0.0208, allocations: 292.9 kB / 0.8894 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.02081, allocations: 0 / 0.8894 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.02107, allocations: 132.4 kB / 0.8895 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.02147, allocations: 55.95 kB / 0.8896 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.02304, allocations: 0.5549 MB / 0.8901 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.749e-05/0.02313, allocations: 97.61 kB / 0.8902 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.02333, allocations: 43.22 kB / 0.8903 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.02346, allocations: 44.44 kB / 0.8903 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of SimCode: time 1.773e-06/0.02346, allocations: 4 kB / 0.8903 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of Templates: time 0.009042/0.03251, allocations: 4.052 MB / 0.8943 GB, free: 5.609 MB / 0.8542 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.660911854822189]