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.001022/0.001022, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001287/0.001287, allocations: 173 kB / 23.49 MB, free: 1.059 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.9922/0.9922, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.012/2.012, 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_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 1.924e-06/1.924e-06, allocations: 3.938 kB / 0.8783 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.256e-05, allocations: 3.406 kB / 0.8783 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.00227/0.002293, allocations: 1.995 MB / 0.8802 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000972/0.003265, allocations: 0.7197 MB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.003354, allocations: 4.75 kB / 0.8809 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.0034, allocations: 19.69 kB / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.003504, allocations: 41.28 kB / 0.881 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.003958, allocations: 184.7 kB / 0.8812 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.004235, allocations: 335 kB / 0.8815 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.004364, allocations: 37.56 kB / 0.8815 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.004602, allocations: 195.6 kB / 0.8817 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.004735, allocations: 120.3 kB / 0.8818 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.004774, allocations: 35.97 kB / 0.8818 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.004833, allocations: 35.98 kB / 0.8819 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.004882, allocations: 83.7 kB / 0.882 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.004954, allocations: 91.78 kB / 0.882 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.005186, allocations: 239.2 kB / 0.8823 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005189, allocations: 0 / 0.8823 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.71e-07/0.005189, allocations: 0 / 0.8823 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.005194, allocations: 4 kB / 0.8823 GB, free: 2.477 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.001044/0.006238, allocations: 0.6631 MB / 0.8829 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.006276, allocations: 12.03 kB / 0.8829 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.006495, allocations: 77.84 kB / 0.883 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.00672, allocations: 189.2 kB / 0.8832 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.006939, allocations: 0.4891 MB / 0.8837 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.006982, allocations: 32.33 kB / 0.8837 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.007282, allocations: 233 kB / 0.8839 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.007297, allocations: 4.188 kB / 0.8839 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.007318, allocations: 12.75 kB / 0.8839 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.007329, allocations: 7.984 kB / 0.8839 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.007494, allocations: 98.55 kB / 0.884 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.008198, allocations: 0.7709 MB / 0.8848 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.008469, allocations: 173.3 kB / 0.885 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.00858, allocations: 87.03 kB / 0.885 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.008611, allocations: 12.2 kB / 0.8851 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.008888, allocations: 271.1 kB / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 1.683e-06/0.00889, allocations: 0 / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.0005252/0.009415, allocations: 384 kB / 0.8857 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.00947, allocations: 122.7 kB / 0.8858 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.009594, allocations: 237.1 kB / 0.886 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.009619, allocations: 37.7 kB / 0.8861 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.009681, allocations: 168 kB / 0.8862 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.009768, allocations: 154.8 kB / 0.8864 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/0.009863, allocations: 114.9 kB / 0.8865 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.009984, allocations: 0.5157 MB / 0.887 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.01011, allocations: 77.27 kB / 0.8871 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.0103, allocations: 226.7 kB / 0.8873 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.01062, allocations: 320 kB / 0.8876 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01062, allocations: 0 / 0.8876 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004344/0.01106, allocations: 409 kB / 0.888 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01107, allocations: 8 kB / 0.888 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.01108, allocations: 5.625 kB / 0.888 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01109, allocations: 4 kB / 0.888 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.01129, allocations: 99.77 kB / 0.8881 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.0113, allocations: 11.94 kB / 0.8881 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01142, allocations: 59.69 kB / 0.8881 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.01144, allocations: 20 kB / 0.8882 GB, free: 11.97 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.0001165/0.01156, allocations: 202.4 kB / 0.8884 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.0116, allocations: 43.81 kB / 0.8884 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.01165, allocations: 33.95 kB / 0.8884 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01165, allocations: 4 kB / 0.8884 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.01166, allocations: 3.938 kB / 0.8884 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01166, allocations: 8 kB / 0.8884 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.01184, allocations: 232.5 kB / 0.8887 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01184, allocations: 0 / 0.8887 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.01204, allocations: 71.89 kB / 0.8887 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.01205, allocations: 4 kB / 0.8887 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.01207, allocations: 15.98 kB / 0.8888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01207, allocations: 4 kB / 0.8888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01207, allocations: 0.7656 kB / 0.8888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.01263, allocations: 471 kB / 0.8892 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.01266, allocations: 35.8 kB / 0.8892 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.01269, allocations: 8 kB / 0.8892 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.01279, allocations: 31.97 kB / 0.8893 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.01291, allocations: 71.77 kB / 0.8893 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.01292, allocations: 16 kB / 0.8894 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004282/0.01335, allocations: 163.1 kB / 0.8895 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01335, allocations: 0 / 0.8895 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002431/0.0136, allocations: 83.95 kB / 0.8896 GB, free: 10.43 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.0001109/0.01371, allocations: 119.1 kB / 0.8897 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.01408, allocations: 289 kB / 0.89 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01409, allocations: 0 / 0.89 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.01426, allocations: 140.4 kB / 0.8901 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.0145, allocations: 60 kB / 0.8902 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009059/0.01541, allocations: 0.5766 MB / 0.8907 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.534e-05/0.01546, allocations: 97.61 kB / 0.8908 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.01556, allocations: 34.97 kB / 0.8909 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.625e-05/0.01565, allocations: 48.48 kB / 0.8909 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of SimCode: time 1.153e-06/0.01565, allocations: 0 / 0.8909 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of Templates: time 0.005425/0.02107, allocations: 4.041 MB / 0.8949 GB, free: 5.031 MB / 0.8542 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.467523683095351]