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.001357/0.001357, 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.001009/0.001009, 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.004/1.004, allocations: 177.1 MB / 203.4 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.131/2.131, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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 4.178e-06/4.178e-06, allocations: 0 / 0.8782 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.838e-05/4.256e-05, allocations: 6 kB / 0.8783 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004823/0.004866, allocations: 1.996 MB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.006511, allocations: 0.7195 MB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.006664, allocations: 4.5 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.377e-05/0.006738, allocations: 24.52 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.006914, allocations: 45.14 kB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.007648, allocations: 183.5 kB / 0.8812 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.008136, allocations: 336.2 kB / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.008332, allocations: 36.89 kB / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.008756, allocations: 204.6 kB / 0.8817 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.00902, allocations: 119.6 kB / 0.8818 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.474e-05/0.009115, allocations: 28 kB / 0.8818 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.319e-05/0.009208, allocations: 32.66 kB / 0.8819 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.009289, allocations: 79.77 kB / 0.882 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.009423, allocations: 100.5 kB / 0.882 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.009832, allocations: 239.2 kB / 0.8823 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.009836, allocations: 1.312 kB / 0.8823 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/0.009837, allocations: 0 / 0.8823 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.547e-06/0.009847, allocations: 0 / 0.8823 GB, free: 2.098 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.001272/0.01112, allocations: 0.6601 MB / 0.8829 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.01117, allocations: 12.02 kB / 0.8829 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.01154, allocations: 75.73 kB / 0.883 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.01191, allocations: 201.1 kB / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/0.01226, allocations: 0.4918 MB / 0.8837 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.01233, allocations: 36.31 kB / 0.8837 GB, free: 472 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.01282, allocations: 224.3 kB / 0.8839 GB, free: 228 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.01284, allocations: 4.188 kB / 0.8839 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.01288, allocations: 13.64 kB / 0.8839 GB, free: 212 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.0129, allocations: 8 kB / 0.884 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.01317, allocations: 91.88 kB / 0.884 GB, free: 112 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.01441, allocations: 0.7765 MB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.01488, allocations: 169.2 kB / 0.885 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.01505, allocations: 86.97 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.0151, allocations: 8.906 kB / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.01556, allocations: 266.3 kB / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 3.777e-06/0.01557, allocations: 0.625 kB / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.0009352/0.0165, allocations: 384.1 kB / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.01658, allocations: 122.7 kB / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.01678, allocations: 231.5 kB / 0.886 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.01683, allocations: 45.69 kB / 0.8861 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.01694, allocations: 172 kB / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.01709, allocations: 146.8 kB / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.01728, allocations: 112 kB / 0.8865 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.01747, allocations: 0.5079 MB / 0.887 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.01769, allocations: 97.12 kB / 0.8871 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.01799, allocations: 222.7 kB / 0.8873 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.01851, allocations: 320 kB / 0.8876 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.01852, allocations: 7.938 kB / 0.8876 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007814/0.0193, allocations: 409 kB / 0.888 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.01933, allocations: 4 kB / 0.888 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.01934, allocations: 4 kB / 0.888 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.01937, allocations: 8 kB / 0.888 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.01976, allocations: 99.77 kB / 0.8881 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.01978, allocations: 4.703 kB / 0.8881 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.02004, allocations: 51.75 kB / 0.8881 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.02009, allocations: 20 kB / 0.8881 GB, free: 11.59 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.0001987/0.02029, allocations: 202.5 kB / 0.8883 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.02038, allocations: 55.73 kB / 0.8884 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.02045, allocations: 29.97 kB / 0.8884 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.02046, allocations: 8 kB / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.02047, allocations: 3.938 kB / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.02048, allocations: 3.984 kB / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.0208, allocations: 232.4 kB / 0.8887 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.02081, allocations: 0 / 0.8887 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.02114, allocations: 71.89 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.02115, allocations: 0 / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.0212, allocations: 23.92 kB / 0.8888 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.0212, allocations: 0 / 0.8888 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.02121, allocations: 8 kB / 0.8888 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/0.0221, allocations: 462.8 kB / 0.8892 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.02215, allocations: 31.78 kB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.02221, allocations: 12 kB / 0.8892 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.02239, allocations: 32.03 kB / 0.8893 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.02255, allocations: 71.84 kB / 0.8893 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.02259, allocations: 15.98 kB / 0.8894 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001161/0.02271, allocations: 163.2 kB / 0.8895 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02271, allocations: 4 kB / 0.8895 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004365/0.02314, allocations: 79.94 kB / 0.8896 GB, free: 10.04 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.0002031/0.02335, allocations: 117.7 kB / 0.8897 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.02398, allocations: 286.1 kB / 0.89 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.02398, allocations: 4 kB / 0.89 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.02426, allocations: 149.2 kB / 0.8901 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.02466, allocations: 47.97 kB / 0.8902 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.02613, allocations: 0.5733 MB / 0.8907 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.023e-05/0.02622, allocations: 97.61 kB / 0.8908 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.02639, allocations: 34.97 kB / 0.8909 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.02653, allocations: 52.48 kB / 0.8909 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/0.02653, allocations: 0 / 0.8909 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of Templates: time 0.0104/0.03693, allocations: 4.257 MB / 0.8951 GB, free: 4.434 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.4381383350118995]