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.002001/0.002001, allocations: 92.7 kB / 19.44 MB, free: 320 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.002474/0.002474, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.879/1.879, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.284/3.284, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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 1.763e-06/1.763e-06, allocations: 0 / 0.8777 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.954e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002499/0.002528, allocations: 1.04 MB / 0.8787 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.004491, allocations: 1.133 MB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.004604, allocations: 1.062 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.552e-05/0.004669, allocations: 19.73 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.004838, allocations: 48.61 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.005378, allocations: 164.7 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.005839, allocations: 331 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.005979, allocations: 33.53 kB / 0.8804 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.006377, allocations: 195.6 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.006607, allocations: 123.3 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.285e-05/0.00668, allocations: 35.94 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.006767, allocations: 36 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.006852, allocations: 75.77 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.006988, allocations: 99.77 kB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.007463, allocations: 338.9 kB / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.007467, allocations: 0 / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.91e-07/0.007468, allocations: 4 kB / 0.8812 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.007477, allocations: 0 / 0.8812 GB, free: 2.754 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.001465/0.008942, allocations: 0.5564 MB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.008979, allocations: 8.031 kB / 0.8818 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.009395, allocations: 81.53 kB / 0.8819 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.009585, allocations: 146.3 kB / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004475/0.01003, allocations: 0.4889 MB / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.01011, allocations: 28.36 kB / 0.8825 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008206/0.01093, allocations: 263.1 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.01096, allocations: 12.12 kB / 0.8828 GB, free: 1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.01099, allocations: 4.375 kB / 0.8828 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.011, allocations: 8.125 kB / 0.8828 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.01151, allocations: 187.8 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.01274, allocations: 0.6448 MB / 0.8836 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.01333, allocations: 195.9 kB / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.01365, allocations: 130.5 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.162e-05/0.0137, allocations: 8 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006662/0.01436, allocations: 312.3 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 2.355e-06/0.01437, allocations: 4 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001279/0.01564, allocations: 495.6 kB / 0.8847 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.01575, allocations: 123.1 kB / 0.8848 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.01596, allocations: 180 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.01601, allocations: 41.7 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.01611, allocations: 113.4 kB / 0.8851 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.01629, allocations: 162.7 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.01648, allocations: 106.3 kB / 0.8854 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.0167, allocations: 338.8 kB / 0.8857 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.01706, allocations: 149.2 kB / 0.8858 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.01753, allocations: 252.8 kB / 0.8861 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.0183, allocations: 394 kB / 0.8864 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01831, allocations: 0 / 0.8864 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001104/0.01941, allocations: 0.5016 MB / 0.8869 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.01944, allocations: 10.5 kB / 0.8869 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.01945, allocations: 4.141 kB / 0.887 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.01948, allocations: 11.94 kB / 0.887 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.01992, allocations: 99.77 kB / 0.8871 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.01994, allocations: 15.91 kB / 0.8871 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.02026, allocations: 55.7 kB / 0.8871 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.0203, allocations: 24 kB / 0.8871 GB, free: 12.27 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.0002174/0.02052, allocations: 159.7 kB / 0.8873 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.02061, allocations: 43.84 kB / 0.8873 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.02069, allocations: 33.97 kB / 0.8874 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.0207, allocations: 4 kB / 0.8874 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.0207, allocations: 0 / 0.8874 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.02071, allocations: 7.922 kB / 0.8874 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.02108, allocations: 241 kB / 0.8876 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02108, allocations: 96 / 0.8876 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.02154, allocations: 79.89 kB / 0.8877 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.02155, allocations: 7.984 kB / 0.8877 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.02159, allocations: 11.98 kB / 0.8877 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.0216, allocations: 4 kB / 0.8877 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.0216, allocations: 3.938 kB / 0.8877 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.02292, allocations: 0.5995 MB / 0.8883 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.02296, allocations: 23.8 kB / 0.8883 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.02302, allocations: 16 kB / 0.8883 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.02328, allocations: 35.89 kB / 0.8884 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.02345, allocations: 63.84 kB / 0.8884 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.02348, allocations: 12 kB / 0.8884 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001341/0.02362, allocations: 133.7 kB / 0.8886 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02362, allocations: 0 / 0.8886 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003803/0.024, allocations: 87.89 kB / 0.8887 GB, free: 10.66 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.00019/0.02419, allocations: 115.2 kB / 0.8888 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008573/0.02504, allocations: 355.4 kB / 0.8891 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.02505, allocations: 0 / 0.8891 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.0255, allocations: 187.6 kB / 0.8893 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.02587, allocations: 61.53 kB / 0.8893 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.02745, allocations: 0.5775 MB / 0.8899 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.02764, allocations: 164 kB / 0.8901 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.02781, allocations: 38.97 kB / 0.8901 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.02795, allocations: 40.48 kB / 0.8901 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of SimCode: time 6.92e-07/0.02795, allocations: 0 / 0.8901 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of Templates: time 0.009686/0.03763, allocations: 4.026 MB / 0.8941 GB, free: 5.117 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.087804467999376]