Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001887/0.001887, allocations: 85.48 kB / 19.44 MB, free: 344 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.002188/0.002188, allocations: 173.6 kB / 22.76 MB, free: 1.66 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.388/3.388, allocations: 429.5 MB / 0.6729 GB, free: 4.023 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_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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.519e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.006514/0.00655, allocations: 1.967 MB / 0.8794 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.009174, allocations: 0.707 MB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.009341, allocations: 0 / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.462e-05/0.009435, allocations: 25.27 kB / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.009687, allocations: 47.52 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.01067, allocations: 181.5 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007654/0.01144, allocations: 339 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.01164, allocations: 32.92 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.0122, allocations: 194.3 kB / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.01249, allocations: 123.6 kB / 0.881 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.01257, allocations: 28 kB / 0.8811 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.01268, allocations: 32 kB / 0.8811 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.01281, allocations: 83.7 kB / 0.8812 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.01298, allocations: 99.77 kB / 0.8813 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.01358, allocations: 342.9 kB / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01358, allocations: 0.7188 kB / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/0.01359, allocations: 0 / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.0136, allocations: 1.656 kB / 0.8816 GB, free: 2.414 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.001646/0.01525, allocations: 0.6725 MB / 0.8823 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.01529, allocations: 12.03 kB / 0.8823 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.01569, allocations: 76.72 kB / 0.8823 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.01605, allocations: 193.1 kB / 0.8825 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004561/0.0165, allocations: 0.4919 MB / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.01658, allocations: 28.33 kB / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.01717, allocations: 275.6 kB / 0.8833 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.01719, allocations: 192 / 0.8833 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.01723, allocations: 16.12 kB / 0.8833 GB, free: 484 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.01724, allocations: 4 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.01771, allocations: 167.8 kB / 0.8835 GB, free: 312 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.01911, allocations: 0.8172 MB / 0.8843 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.01972, allocations: 225.2 kB / 0.8845 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.02, allocations: 127 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.02004, allocations: 8.219 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006454/0.02069, allocations: 338.3 kB / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 2.835e-06/0.02069, allocations: 0 / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001249/0.02194, allocations: 497.7 kB / 0.8854 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.02204, allocations: 126.7 kB / 0.8855 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.02231, allocations: 259.5 kB / 0.8858 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.02236, allocations: 41.7 kB / 0.8858 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.02249, allocations: 176 kB / 0.886 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.02268, allocations: 162.8 kB / 0.8861 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.02287, allocations: 120 kB / 0.8863 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003102/0.02318, allocations: 0.5274 MB / 0.8868 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.02352, allocations: 137.2 kB / 0.8869 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.02398, allocations: 290.7 kB / 0.8872 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/0.02476, allocations: 436 kB / 0.8876 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02477, allocations: 0 / 0.8876 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001022/0.02579, allocations: 0.501 MB / 0.8881 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.02581, allocations: 10.34 kB / 0.8881 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.02582, allocations: 0 / 0.8881 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.02584, allocations: 8 kB / 0.8881 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.02625, allocations: 95.77 kB / 0.8882 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.02626, allocations: 8.641 kB / 0.8882 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.02657, allocations: 63.69 kB / 0.8883 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.02662, allocations: 20 kB / 0.8883 GB, free: 11.07 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.0002228/0.02684, allocations: 214.5 kB / 0.8885 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.02693, allocations: 47.81 kB / 0.8885 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/0.02701, allocations: 33.95 kB / 0.8886 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.02702, allocations: 8 kB / 0.8886 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.02703, allocations: 3.938 kB / 0.8886 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02704, allocations: 0 / 0.8886 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.02743, allocations: 256.4 kB / 0.8888 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.02743, allocations: 7.984 kB / 0.8888 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.02786, allocations: 67.91 kB / 0.8889 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.02787, allocations: 4 kB / 0.8889 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.02792, allocations: 15.98 kB / 0.8889 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.02792, allocations: 4 kB / 0.8889 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02792, allocations: 0 / 0.8889 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.02922, allocations: 0.6082 MB / 0.8895 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.02927, allocations: 39.78 kB / 0.8896 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.02932, allocations: 8 kB / 0.8896 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.02957, allocations: 28.03 kB / 0.8896 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.02974, allocations: 75.78 kB / 0.8897 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.02979, allocations: 19.98 kB / 0.8897 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001562/0.02994, allocations: 179 kB / 0.8898 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02994, allocations: 0 / 0.8898 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003752/0.03032, allocations: 79.94 kB / 0.8899 GB, free: 9.32 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.0001914/0.03051, allocations: 127.1 kB / 0.89 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008508/0.03136, allocations: 396.3 kB / 0.8904 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03136, allocations: 0 / 0.8904 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.03177, allocations: 192.4 kB / 0.8906 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.03213, allocations: 60.69 kB / 0.8907 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.03342, allocations: 0.5885 MB / 0.8912 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.0336, allocations: 164.1 kB / 0.8914 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.03376, allocations: 38.97 kB / 0.8914 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.03389, allocations: 40.48 kB / 0.8915 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.03389, allocations: 0 / 0.8915 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of Templates: time 0.009778/0.04367, allocations: 4.047 MB / 0.8954 GB, free: 3.672 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.765457462053746]