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.0009953/0.0009953, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009953/0.0009953, allocations: 169 kB / 23.03 MB, free: 1.539 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.027/2.027, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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 1.934e-06/1.934e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.712e-05, allocations: 4.984 kB / 0.8783 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.0023/0.002327, allocations: 1.087 MB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.003809, allocations: 1.157 MB / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.003888, allocations: 0 / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.912e-05/0.003947, allocations: 19.73 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.004078, allocations: 50.77 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.004569, allocations: 163.7 kB / 0.8807 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.004899, allocations: 327 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.005041, allocations: 36.5 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.005344, allocations: 195.6 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.005523, allocations: 120.2 kB / 0.8813 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.005576, allocations: 29.59 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.005652, allocations: 32 kB / 0.8814 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.005716, allocations: 83.7 kB / 0.8815 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.461e-05/0.005811, allocations: 99.77 kB / 0.8815 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.006072, allocations: 235.2 kB / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006074, allocations: 4.5 kB / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006075, allocations: 1.312 kB / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.00608, allocations: 0 / 0.8818 GB, free: 2.633 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.0007615/0.006841, allocations: 0.6635 MB / 0.8824 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.006877, allocations: 8.031 kB / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.007082, allocations: 80.77 kB / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.007181, allocations: 141.2 kB / 0.8826 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.0074, allocations: 495.7 kB / 0.8831 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.007443, allocations: 36.31 kB / 0.8832 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.007736, allocations: 232.3 kB / 0.8834 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.007749, allocations: 192 / 0.8834 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.007771, allocations: 12.36 kB / 0.8834 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.007781, allocations: 8.125 kB / 0.8834 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.007942, allocations: 92.53 kB / 0.8835 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.008626, allocations: 0.7703 MB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.00892, allocations: 169.2 kB / 0.8844 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.009024, allocations: 89.08 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.009054, allocations: 12 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.009311, allocations: 270.5 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 1.373e-06/0.009312, allocations: 3.938 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.0005092/0.009821, allocations: 387 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.00987, allocations: 119.1 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.009988, allocations: 232 kB / 0.8855 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.01001, allocations: 37.7 kB / 0.8855 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.01008, allocations: 168 kB / 0.8857 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.01017, allocations: 154.8 kB / 0.8858 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.01027, allocations: 112 kB / 0.8859 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01039, allocations: 0.5079 MB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.01051, allocations: 85.27 kB / 0.8865 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.01069, allocations: 230.7 kB / 0.8867 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.01099, allocations: 320 kB / 0.887 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01099, allocations: 4 kB / 0.887 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004235/0.01142, allocations: 405.1 kB / 0.8874 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01143, allocations: 4 kB / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.01144, allocations: 4 kB / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01145, allocations: 8.094 kB / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.01166, allocations: 99.75 kB / 0.8875 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.01167, allocations: 8.641 kB / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.0118, allocations: 59.7 kB / 0.8876 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.01182, allocations: 28 kB / 0.8876 GB, free: 12.17 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.0001801/0.012, allocations: 194.4 kB / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.01205, allocations: 43.86 kB / 0.8878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.01208, allocations: 37.89 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.01209, allocations: 8 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.0121, allocations: 0 / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.0121, allocations: 3.938 kB / 0.8879 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.01227, allocations: 232.4 kB / 0.8881 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01228, allocations: 0 / 0.8881 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.01248, allocations: 75.89 kB / 0.8882 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01248, allocations: 0 / 0.8882 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.01251, allocations: 15.98 kB / 0.8882 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.01251, allocations: 4 kB / 0.8882 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01251, allocations: 0 / 0.8882 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.01301, allocations: 462.9 kB / 0.8886 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.01304, allocations: 35.73 kB / 0.8887 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.01307, allocations: 12.06 kB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.01316, allocations: 35.97 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.01326, allocations: 63.84 kB / 0.8888 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.01328, allocations: 19.98 kB / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.01334, allocations: 164.2 kB / 0.8889 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01334, allocations: 3.938 kB / 0.889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002063/0.01355, allocations: 79.94 kB / 0.889 GB, free: 10.64 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 9.898e-05/0.01365, allocations: 115.2 kB / 0.8891 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.014, allocations: 288.3 kB / 0.8894 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01401, allocations: 0 / 0.8894 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.01417, allocations: 144.4 kB / 0.8896 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.01439, allocations: 47.95 kB / 0.8896 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.01524, allocations: 0.5627 MB / 0.8901 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.197e-05/0.01529, allocations: 97.55 kB / 0.8902 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.328e-05/0.01538, allocations: 42.95 kB / 0.8903 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.01547, allocations: 36.5 kB / 0.8903 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/0.01547, allocations: 0 / 0.8903 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of Templates: time 0.005817/0.02129, allocations: 4.263 MB / 0.8945 GB, free: 5.043 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.357380727306008]