Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008194/0.0008194, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009522/0.0009522, allocations: 181 kB / 24.09 MB, free: 420 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.9308/0.9308, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.74/1.74, allocations: 359 MB / 0.6055 GB, free: 10.88 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,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") 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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.85e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001413/0.001432, allocations: 1.049 MB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.002477, allocations: 1.157 MB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.002541, allocations: 4 kB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.002578, allocations: 20.25 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.002667, allocations: 44.77 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.002997, allocations: 157.3 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.003214, allocations: 335 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.003321, allocations: 40.5 kB / 0.7904 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.003532, allocations: 196.8 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.003651, allocations: 107.7 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.003684, allocations: 32 kB / 0.7907 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.003738, allocations: 36.61 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.004035, allocations: 81.17 kB / 0.7908 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.004096, allocations: 103.7 kB / 0.7909 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.00429, allocations: 239.2 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004292, allocations: 0 / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004292, allocations: 0.6875 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.004298, allocations: 0 / 0.7911 GB, free: 8.523 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.0006499/0.004948, allocations: 0.6615 MB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.004988, allocations: 8.031 kB / 0.7918 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.005161, allocations: 76.72 kB / 0.7919 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.005248, allocations: 149.7 kB / 0.792 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.005434, allocations: 495.7 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.005471, allocations: 33.08 kB / 0.7925 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.005689, allocations: 220.2 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.005702, allocations: 5.828 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.005715, allocations: 4.375 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005722, allocations: 12.12 kB / 0.7927 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.005823, allocations: 74.28 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.006403, allocations: 0.7526 MB / 0.7935 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.006599, allocations: 158.7 kB / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.00667, allocations: 79.02 kB / 0.7938 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.006704, allocations: 17.66 kB / 0.7938 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.006925, allocations: 250.2 kB / 0.794 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.006927, allocations: 0 / 0.794 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0003961/0.007323, allocations: 339.3 kB / 0.7944 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.007372, allocations: 118.8 kB / 0.7945 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.007477, allocations: 223.5 kB / 0.7947 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.0075, allocations: 37.7 kB / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.007561, allocations: 172.5 kB / 0.7949 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.007646, allocations: 159.8 kB / 0.795 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.007738, allocations: 115.9 kB / 0.7951 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.007858, allocations: 0.5195 MB / 0.7957 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.007931, allocations: 65.81 kB / 0.7957 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.008077, allocations: 210.8 kB / 0.7959 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.008314, allocations: 296.4 kB / 0.7962 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.008317, allocations: 1.375 kB / 0.7962 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003151/0.008632, allocations: 365.3 kB / 0.7965 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.008645, allocations: 4 kB / 0.7966 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.008651, allocations: 4 kB / 0.7966 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.008664, allocations: 9.156 kB / 0.7966 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.008849, allocations: 91.83 kB / 0.7967 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.008856, allocations: 8.875 kB / 0.7967 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.008972, allocations: 61.28 kB / 0.7967 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.008989, allocations: 12 kB / 0.7967 GB, free: 2.312 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.0001062/0.009095, allocations: 203.3 kB / 0.7969 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.009141, allocations: 47.8 kB / 0.797 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.009175, allocations: 29.97 kB / 0.797 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.009178, allocations: 5.344 kB / 0.797 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.009181, allocations: 4 kB / 0.797 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.009187, allocations: 3.984 kB / 0.797 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.009348, allocations: 205.8 kB / 0.7972 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.00935, allocations: 4 kB / 0.7972 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.009534, allocations: 66.22 kB / 0.7973 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.00954, allocations: 7.984 kB / 0.7973 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.00956, allocations: 12 kB / 0.7973 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.009563, allocations: 4 kB / 0.7973 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009565, allocations: 0 / 0.7973 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/0.01052, allocations: 444.4 kB / 0.7977 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.01054, allocations: 27.23 kB / 0.7977 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.01057, allocations: 16.05 kB / 0.7978 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.01066, allocations: 31.97 kB / 0.7978 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.01075, allocations: 63.91 kB / 0.7979 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.01077, allocations: 12 kB / 0.7979 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.01082, allocations: 161 kB / 0.798 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01082, allocations: 0 / 0.798 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001963/0.01102, allocations: 80.66 kB / 0.7981 GB, free: 0.8633 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.0001004/0.01112, allocations: 124.1 kB / 0.7982 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.01137, allocations: 251.6 kB / 0.7985 GB, free: 496 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01137, allocations: 0 / 0.7985 GB, free: 496 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01149, allocations: 124.4 kB / 0.7986 GB, free: 368 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.0117, allocations: 49.97 kB / 0.7986 GB, free: 320 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.01246, allocations: 0.5614 MB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.87e-05/0.01251, allocations: 93.61 kB / 0.7993 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.796e-05/0.0126, allocations: 42.36 kB / 0.7993 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.01274, allocations: 135 kB / 0.7994 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of SimCode: time 7.81e-07/0.01274, allocations: 0 / 0.7994 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.00575/0.01849, allocations: 4.359 MB / 0.8037 GB, free: 11.14 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.758749320171773]