Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001014/0.001014, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001524/0.001524, allocations: 161 kB / 23.82 MB, free: 0.75 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.9292/0.9292, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.893/1.893, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.759e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.00232/0.002347, allocations: 1.992 MB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009132/0.00326, allocations: 0.7194 MB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.00334, allocations: 4.562 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.003382, allocations: 19.73 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.003477, allocations: 50.02 kB / 0.7899 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.003892, allocations: 179.6 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.004163, allocations: 335 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.004292, allocations: 45.75 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.004521, allocations: 195.7 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.004658, allocations: 116.4 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.0047, allocations: 30.53 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.996e-05/0.00476, allocations: 32 kB / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.004808, allocations: 79.77 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.004881, allocations: 103.7 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.00511, allocations: 235.2 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005113, allocations: 3.938 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005113, allocations: 0 / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.005118, allocations: 1.688 kB / 0.7912 GB, free: 8.32 MB / 0.7448 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.0007518/0.00587, allocations: 0.6621 MB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.005907, allocations: 9.688 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.006113, allocations: 72.77 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.006332, allocations: 200.6 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.006539, allocations: 499.7 kB / 0.7926 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.006579, allocations: 28.95 kB / 0.7926 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.006884, allocations: 229.1 kB / 0.7928 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.006898, allocations: 4.188 kB / 0.7928 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.006917, allocations: 9.281 kB / 0.7928 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.006933, allocations: 11.98 kB / 0.7929 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.007097, allocations: 99.81 kB / 0.793 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.007786, allocations: 0.7773 MB / 0.7937 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.008054, allocations: 170.1 kB / 0.7939 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.008166, allocations: 98.89 kB / 0.794 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.0082, allocations: 8 kB / 0.794 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.008474, allocations: 267.7 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.676e-06/0.008477, allocations: 0 / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0005233/0.009, allocations: 372.4 kB / 0.7946 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.009054, allocations: 127.8 kB / 0.7947 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.009184, allocations: 232.5 kB / 0.7949 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.009212, allocations: 41.7 kB / 0.795 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.009279, allocations: 170 kB / 0.7951 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.009369, allocations: 150.8 kB / 0.7953 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.009475, allocations: 116 kB / 0.7954 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.009611, allocations: 0.5079 MB / 0.7959 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.009743, allocations: 89.19 kB / 0.796 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.009934, allocations: 225.1 kB / 0.7962 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.01025, allocations: 328 kB / 0.7965 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01025, allocations: 4 kB / 0.7965 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004643/0.01071, allocations: 401.3 kB / 0.7969 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01073, allocations: 4 kB / 0.7969 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01074, allocations: 7.984 kB / 0.7969 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.01076, allocations: 4.531 kB / 0.7969 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.01098, allocations: 95.77 kB / 0.797 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01099, allocations: 9.938 kB / 0.797 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.01112, allocations: 55.7 kB / 0.797 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.01115, allocations: 20 kB / 0.7971 GB, free: 1.816 MB / 0.7448 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.0001189/0.01127, allocations: 197 kB / 0.7973 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.01131, allocations: 47.78 kB / 0.7973 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.01136, allocations: 29.97 kB / 0.7973 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01136, allocations: 8 kB / 0.7973 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.01137, allocations: 8 kB / 0.7973 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.01138, allocations: 4.891 kB / 0.7973 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.01158, allocations: 244.2 kB / 0.7976 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01158, allocations: 0.7812 kB / 0.7976 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.01179, allocations: 71.89 kB / 0.7977 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01179, allocations: 1.156 kB / 0.7977 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.01182, allocations: 16 kB / 0.7977 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01182, allocations: 0 / 0.7977 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01182, allocations: 0.8438 kB / 0.7977 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.01238, allocations: 476.4 kB / 0.7981 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.01241, allocations: 27.75 kB / 0.7981 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.01244, allocations: 19.17 kB / 0.7982 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.01254, allocations: 27.97 kB / 0.7982 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.01265, allocations: 67.84 kB / 0.7983 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.01267, allocations: 15.98 kB / 0.7983 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.686e-05/0.01275, allocations: 172.1 kB / 0.7984 GB, free: 360 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01275, allocations: 0 / 0.7984 GB, free: 360 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002306/0.01298, allocations: 76 kB / 0.7985 GB, free: 284 kB / 0.7448 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.000122/0.0131, allocations: 120.9 kB / 0.7986 GB, free: 156 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.01349, allocations: 290.5 kB / 0.7989 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01349, allocations: 0 / 0.7989 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.01366, allocations: 139.3 kB / 0.799 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01391, allocations: 49.08 kB / 0.7991 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009709/0.01488, allocations: 0.58 MB / 0.7996 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.01494, allocations: 97.59 kB / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.692e-05/0.01504, allocations: 42.17 kB / 0.7998 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.01514, allocations: 52.48 kB / 0.7998 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of SimCode: time 6.92e-07/0.01514, allocations: 0 / 0.7998 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of Templates: time 0.005871/0.02101, allocations: 4.036 MB / 0.8038 GB, free: 10.88 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.252751907799393]