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.001466/0.001466, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001571/0.001571, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9852/0.9852, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.879/1.879, allocations: 359 MB / 0.6055 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] 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 3.647e-06/3.647e-06, allocations: 0 / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.675e-05/4.04e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003716/0.003757, allocations: 1.984 MB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.005077, allocations: 0.7165 MB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.005227, allocations: 5 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.533e-05/0.005293, allocations: 23.67 kB / 0.7898 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.00543, allocations: 45.55 kB / 0.7899 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.006003, allocations: 183.5 kB / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.006411, allocations: 339 kB / 0.7904 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.006598, allocations: 30.08 kB / 0.7904 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.006963, allocations: 203.5 kB / 0.7906 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.007165, allocations: 120.7 kB / 0.7907 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.007219, allocations: 32 kB / 0.7908 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.007302, allocations: 36 kB / 0.7908 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.007377, allocations: 76.98 kB / 0.7909 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.007493, allocations: 99.72 kB / 0.791 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.007855, allocations: 239.2 kB / 0.7912 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.007861, allocations: 1.594 kB / 0.7912 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.007863, allocations: 0 / 0.7912 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.00787, allocations: 0 / 0.7912 GB, free: 8.598 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.001403/0.009273, allocations: 0.66 MB / 0.7918 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.009328, allocations: 8.031 kB / 0.7918 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.009577, allocations: 81.48 kB / 0.7919 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.009836, allocations: 189.9 kB / 0.7921 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.01007, allocations: 499.7 kB / 0.7926 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.01012, allocations: 32.31 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.01044, allocations: 232.3 kB / 0.7928 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.01046, allocations: 1.562 kB / 0.7928 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.01048, allocations: 11.94 kB / 0.7928 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.01049, allocations: 4 kB / 0.7928 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.01066, allocations: 100.5 kB / 0.7929 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.01142, allocations: 0.7766 MB / 0.7937 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.01172, allocations: 173.2 kB / 0.7939 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.01183, allocations: 92.7 kB / 0.7939 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.01186, allocations: 16 kB / 0.794 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.01217, allocations: 262.3 kB / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.836e-06/0.01217, allocations: 0 / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.000703/0.01287, allocations: 386.6 kB / 0.7946 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.01294, allocations: 114.8 kB / 0.7947 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.0131, allocations: 236.5 kB / 0.7949 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.01313, allocations: 42.2 kB / 0.795 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.01321, allocations: 169.8 kB / 0.7951 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.856e-05/0.01331, allocations: 158.8 kB / 0.7953 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.01342, allocations: 104 kB / 0.7954 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01355, allocations: 0.5118 MB / 0.7959 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.01368, allocations: 89.25 kB / 0.796 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.01387, allocations: 224.5 kB / 0.7962 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.0142, allocations: 324 kB / 0.7965 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.0142, allocations: 0 / 0.7965 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004795/0.01468, allocations: 405.3 kB / 0.7969 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.01471, allocations: 8 kB / 0.7969 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.01472, allocations: 4.812 kB / 0.7969 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.01475, allocations: 11.94 kB / 0.7969 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.01498, allocations: 92.36 kB / 0.797 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.015, allocations: 8.703 kB / 0.797 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.01514, allocations: 60.23 kB / 0.797 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.01517, allocations: 25.31 kB / 0.7971 GB, free: 2.09 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.000152/0.01532, allocations: 194.9 kB / 0.7973 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.01537, allocations: 44.66 kB / 0.7973 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.01543, allocations: 33.97 kB / 0.7973 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.01544, allocations: 8.875 kB / 0.7973 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.01545, allocations: 0 / 0.7973 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.01545, allocations: 3.984 kB / 0.7973 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.01568, allocations: 237.6 kB / 0.7976 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01568, allocations: 4 kB / 0.7976 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.01591, allocations: 71.89 kB / 0.7976 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.01592, allocations: 4.75 kB / 0.7976 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.01594, allocations: 8 kB / 0.7977 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01595, allocations: 5.875 kB / 0.7977 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.01595, allocations: 7.938 kB / 0.7977 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.01653, allocations: 463 kB / 0.7981 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.01656, allocations: 31.73 kB / 0.7981 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.0166, allocations: 16.8 kB / 0.7982 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.0167, allocations: 31.38 kB / 0.7982 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.01683, allocations: 75.78 kB / 0.7983 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.01685, allocations: 19.98 kB / 0.7983 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.144e-05/0.01693, allocations: 168.1 kB / 0.7984 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01693, allocations: 0 / 0.7984 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002386/0.01717, allocations: 80 kB / 0.7985 GB, free: 0.5508 MB / 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.0001753/0.01734, allocations: 114.3 kB / 0.7986 GB, free: 444 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.01776, allocations: 294.3 kB / 0.7989 GB, free: 144 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01776, allocations: 0 / 0.7989 GB, free: 144 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.01792, allocations: 130.7 kB / 0.799 GB, free: 12 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.01826, allocations: 58.39 kB / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.01943, allocations: 0.5704 MB / 0.7996 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.01951, allocations: 98.27 kB / 0.7997 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.01962, allocations: 40.89 kB / 0.7998 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01972, allocations: 40.5 kB / 0.7998 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of SimCode: time 2.275e-06/0.01972, allocations: 0 / 0.7998 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of Templates: time 0.006767/0.02649, allocations: 4.053 MB / 0.8038 GB, free: 11.18 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.377489132108167]