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.0009984/0.0009984, allocations: 93.06 kB / 19.65 MB, free: 276 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.001198/0.001198, allocations: 169 kB / 23.02 MB, free: 1.547 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.013/1.013, 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.091/2.091, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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 3.075e-06/3.075e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.946e-05/4.254e-05, allocations: 3.156 kB / 0.8782 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002518/0.00256, allocations: 1.088 MB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.004163, allocations: 1.161 MB / 0.8804 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.004255, allocations: 4 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.843e-05/0.004313, allocations: 19.69 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.004448, allocations: 41.28 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.004951, allocations: 157 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000334/0.005285, allocations: 335 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.005457, allocations: 40.52 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.005771, allocations: 188.7 kB / 0.8812 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.00596, allocations: 123.6 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.006016, allocations: 35.44 kB / 0.8813 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.006093, allocations: 32 kB / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.00616, allocations: 79.77 kB / 0.8815 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.006259, allocations: 91.78 kB / 0.8815 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.006574, allocations: 239.2 kB / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.006577, allocations: 0 / 0.8818 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.041e-06/0.006578, allocations: 3.938 kB / 0.8818 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.006585, allocations: 0 / 0.8818 GB, free: 2.625 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.000984/0.007569, allocations: 0.6632 MB / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.007607, allocations: 8.031 kB / 0.8824 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.007822, allocations: 76.77 kB / 0.8825 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.007933, allocations: 141.2 kB / 0.8826 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.008145, allocations: 0.4919 MB / 0.8831 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.008186, allocations: 28.33 kB / 0.8831 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.008487, allocations: 232.3 kB / 0.8834 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.008504, allocations: 12.11 kB / 0.8834 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.008521, allocations: 4.375 kB / 0.8834 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.008531, allocations: 8.125 kB / 0.8834 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.008692, allocations: 96.58 kB / 0.8835 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.009392, allocations: 0.7704 MB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.009655, allocations: 173.1 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.009763, allocations: 89.09 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.009797, allocations: 11.98 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.01006, allocations: 266.3 kB / 0.8847 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/0.01007, allocations: 4 kB / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.0005141/0.01058, allocations: 383.1 kB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.01063, allocations: 123.1 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.01075, allocations: 232.1 kB / 0.8855 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.01077, allocations: 37.7 kB / 0.8855 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.01084, allocations: 176 kB / 0.8857 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.01092, allocations: 146.8 kB / 0.8858 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.01102, allocations: 108 kB / 0.8859 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01113, allocations: 0.5118 MB / 0.8864 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.01127, allocations: 85.25 kB / 0.8865 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.01145, allocations: 226.7 kB / 0.8867 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.01175, allocations: 332 kB / 0.887 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01176, allocations: 0 / 0.887 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004228/0.01218, allocations: 405.1 kB / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.0122, allocations: 10.81 kB / 0.8874 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.0122, allocations: 4 kB / 0.8874 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01222, allocations: 4 kB / 0.8874 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.01242, allocations: 91.83 kB / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.01243, allocations: 16.58 kB / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01255, allocations: 59.7 kB / 0.8876 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.01258, allocations: 27.98 kB / 0.8876 GB, free: 12.15 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.0001021/0.01268, allocations: 194.4 kB / 0.8878 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.01272, allocations: 43.86 kB / 0.8878 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.01276, allocations: 33.95 kB / 0.8879 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01277, allocations: 4 kB / 0.8879 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01277, allocations: 0 / 0.8879 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.01278, allocations: 11.92 kB / 0.8879 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.01295, allocations: 228.4 kB / 0.8881 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01295, allocations: 8 kB / 0.8881 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.01315, allocations: 63.91 kB / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01316, allocations: 4 kB / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.01318, allocations: 15.98 kB / 0.8882 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01318, allocations: 64 / 0.8882 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01318, allocations: 8 kB / 0.8882 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.0137, allocations: 466.8 kB / 0.8886 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.01372, allocations: 27.75 kB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.01374, allocations: 12 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.01384, allocations: 31.97 kB / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.01394, allocations: 75.83 kB / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.01395, allocations: 12 kB / 0.8888 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.01402, allocations: 164.2 kB / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01402, allocations: 0 / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000206/0.01422, allocations: 80 kB / 0.889 GB, free: 10.63 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.0001158/0.01434, allocations: 115.2 kB / 0.8891 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.01468, allocations: 288.4 kB / 0.8894 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01469, allocations: 0 / 0.8894 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.01484, allocations: 148.3 kB / 0.8896 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01507, allocations: 43.97 kB / 0.8896 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008854/0.01595, allocations: 0.5628 MB / 0.8901 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.08e-05/0.01601, allocations: 97.61 kB / 0.8902 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.825e-05/0.01609, allocations: 39.23 kB / 0.8903 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/0.01619, allocations: 48.48 kB / 0.8903 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.01619, allocations: 0 / 0.8903 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of Templates: time 0.00641/0.0226, allocations: 4.043 MB / 0.8943 GB, free: 5.246 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.860784151125699]