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.002387/0.002387, allocations: 89.48 kB / 19.44 MB, free: 336 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.00291/0.00291, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.589/1.589, 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.391/3.391, allocations: 429.4 MB / 0.6729 GB, free: 4.012 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.794e-06/1.794e-06, allocations: 0 / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.781e-05, allocations: 3.156 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002363/0.002391, allocations: 1.07 MB / 0.8786 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.00414, allocations: 1.134 MB / 0.8797 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.004227, allocations: 4 kB / 0.8797 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.374e-05/0.00428, allocations: 20.8 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.004422, allocations: 48.8 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.004919, allocations: 156.8 kB / 0.8799 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.005612, allocations: 327 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.005751, allocations: 36.56 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.006106, allocations: 204.2 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.006323, allocations: 122 kB / 0.8806 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.006381, allocations: 28 kB / 0.8806 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.006473, allocations: 32 kB / 0.8806 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.006571, allocations: 79.7 kB / 0.8807 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.006699, allocations: 99.77 kB / 0.8808 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.007152, allocations: 350.9 kB / 0.8811 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.007155, allocations: 3.188 kB / 0.8811 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007156, allocations: 0 / 0.8811 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.007162, allocations: 0 / 0.8811 GB, free: 2.941 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.001499/0.00866, allocations: 0.6576 MB / 0.8818 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.008712, allocations: 8.031 kB / 0.8818 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.009114, allocations: 77.95 kB / 0.8818 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.009295, allocations: 149.1 kB / 0.882 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004411/0.009736, allocations: 0.4885 MB / 0.8825 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.009804, allocations: 32.31 kB / 0.8825 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.01033, allocations: 268.5 kB / 0.8828 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.01035, allocations: 192 / 0.8828 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.01038, allocations: 15.81 kB / 0.8828 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.01039, allocations: 8.125 kB / 0.8828 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.01082, allocations: 167.9 kB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01211, allocations: 0.8172 MB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.0127, allocations: 217.8 kB / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.01297, allocations: 128.3 kB / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.01302, allocations: 12 kB / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005929/0.01361, allocations: 328.2 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 1.573e-06/0.01361, allocations: 3.938 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.00115/0.01476, allocations: 499.5 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.01486, allocations: 119.1 kB / 0.885 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.01511, allocations: 255.2 kB / 0.8852 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.01516, allocations: 37.7 kB / 0.8853 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.01531, allocations: 176 kB / 0.8854 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.01548, allocations: 158.8 kB / 0.8856 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.01568, allocations: 128 kB / 0.8857 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003112/0.01599, allocations: 0.5235 MB / 0.8862 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.01633, allocations: 141.2 kB / 0.8863 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.0168, allocations: 294.7 kB / 0.8866 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.01784, allocations: 439.9 kB / 0.887 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01784, allocations: 0 / 0.887 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009756/0.01882, allocations: 0.4932 MB / 0.8875 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.01884, allocations: 7.984 kB / 0.8875 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.01885, allocations: 4 kB / 0.8875 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.01887, allocations: 4 kB / 0.8875 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.01927, allocations: 95.83 kB / 0.8876 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.01929, allocations: 16.58 kB / 0.8877 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.01956, allocations: 59.7 kB / 0.8877 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.0196, allocations: 20 kB / 0.8877 GB, free: 11.68 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.0002217/0.01982, allocations: 206.5 kB / 0.8879 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.0199, allocations: 39.84 kB / 0.888 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.853e-05/0.01998, allocations: 33.91 kB / 0.888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.01999, allocations: 8 kB / 0.888 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.01999, allocations: 4 kB / 0.888 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.02, allocations: 7.922 kB / 0.888 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.02038, allocations: 260.4 kB / 0.8883 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02038, allocations: 0 / 0.8883 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.02079, allocations: 75.89 kB / 0.8883 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.02079, allocations: 4 kB / 0.8883 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.02083, allocations: 8 kB / 0.8883 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.02083, allocations: 0 / 0.8883 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.02083, allocations: 4 kB / 0.8884 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.02205, allocations: 0.6169 MB / 0.889 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.02209, allocations: 23.8 kB / 0.889 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.02214, allocations: 8 kB / 0.889 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.02237, allocations: 31.97 kB / 0.889 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.02254, allocations: 71.83 kB / 0.8891 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.02258, allocations: 16 kB / 0.8891 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001603/0.02274, allocations: 181.6 kB / 0.8893 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02274, allocations: 0 / 0.8893 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003418/0.02308, allocations: 91.83 kB / 0.8894 GB, free: 9.945 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.0001963/0.02327, allocations: 111.1 kB / 0.8895 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008315/0.02411, allocations: 392.5 kB / 0.8898 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02411, allocations: 0 / 0.8898 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.0245, allocations: 204.3 kB / 0.89 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.02485, allocations: 60.28 kB / 0.8901 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.02607, allocations: 0.5744 MB / 0.8907 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.02626, allocations: 175.9 kB / 0.8908 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.02641, allocations: 34.97 kB / 0.8909 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.02654, allocations: 48.48 kB / 0.8909 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of SimCode: time 6.72e-07/0.02654, allocations: 0 / 0.8909 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of Templates: time 0.009728/0.03626, allocations: 4.04 MB / 0.8948 GB, free: 4.312 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] 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: 8.71780960902106]