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.0009626/0.0009626, allocations: 93.06 kB / 19.65 MB, free: 280 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.001146/0.001146, allocations: 169 kB / 23.02 MB, free: 1.551 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.133/2.133, allocations: 429.5 MB / 0.6732 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] 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 3.276e-06/3.276e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.669e-05/3.997e-05, allocations: 3.625 kB / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003171/0.003211, allocations: 2.007 MB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.004304, allocations: 0.728 MB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.004399, allocations: 0 / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.551e-05/0.004455, allocations: 19.69 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.004564, allocations: 44.64 kB / 0.881 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.005096, allocations: 183 kB / 0.8812 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.005402, allocations: 339 kB / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.005548, allocations: 36.91 kB / 0.8815 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.005826, allocations: 195.6 kB / 0.8817 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.005984, allocations: 119.7 kB / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.006031, allocations: 31.94 kB / 0.8818 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.006103, allocations: 32 kB / 0.8819 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.006155, allocations: 84.3 kB / 0.882 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.006238, allocations: 97.28 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.006495, allocations: 235.2 kB / 0.8823 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.006499, allocations: 4 kB / 0.8823 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006501, allocations: 0 / 0.8823 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.006507, allocations: 1.531 kB / 0.8823 GB, free: 2.113 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.0008605/0.007367, allocations: 0.6637 MB / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.00741, allocations: 12.03 kB / 0.8829 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.007659, allocations: 76.72 kB / 0.883 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.007926, allocations: 193.2 kB / 0.8832 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.008172, allocations: 499.7 kB / 0.8837 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.008224, allocations: 32.33 kB / 0.8837 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.008562, allocations: 236.2 kB / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.008579, allocations: 4.188 kB / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.008601, allocations: 12.12 kB / 0.8839 GB, free: 220 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.008612, allocations: 4 kB / 0.8839 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.008785, allocations: 96.58 kB / 0.884 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008256/0.009611, allocations: 0.7744 MB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.009938, allocations: 169.2 kB / 0.885 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01005, allocations: 87.03 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.01009, allocations: 15.97 kB / 0.8851 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.0104, allocations: 266.3 kB / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/0.0104, allocations: 0 / 0.8853 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.0005783/0.01098, allocations: 384.3 kB / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.01105, allocations: 122.7 kB / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.01119, allocations: 243.5 kB / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.01122, allocations: 37.7 kB / 0.8861 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.0113, allocations: 164 kB / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.0114, allocations: 154.8 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.01151, allocations: 112 kB / 0.8865 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.01165, allocations: 0.5157 MB / 0.887 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.0118, allocations: 77.27 kB / 0.887 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.01199, allocations: 226.7 kB / 0.8873 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.01232, allocations: 323.9 kB / 0.8876 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.01233, allocations: 0 / 0.8876 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000474/0.0128, allocations: 413 kB / 0.888 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.01282, allocations: 10.81 kB / 0.888 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.01283, allocations: 4 kB / 0.888 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.01285, allocations: 4 kB / 0.888 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.01308, allocations: 99.77 kB / 0.8881 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.01309, allocations: 12.64 kB / 0.8881 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.01322, allocations: 51.75 kB / 0.8881 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.01325, allocations: 20 kB / 0.8882 GB, free: 11.59 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.0001305/0.01338, allocations: 206.4 kB / 0.8884 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.01343, allocations: 43.81 kB / 0.8884 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.01348, allocations: 33.95 kB / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01348, allocations: 4 kB / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.01349, allocations: 7.938 kB / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.0135, allocations: 0 / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.01371, allocations: 232.4 kB / 0.8887 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01371, allocations: 0 / 0.8887 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.01393, allocations: 67.91 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01394, allocations: 8 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.01397, allocations: 15.98 kB / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.01397, allocations: 8.062 kB / 0.8888 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01397, allocations: 0 / 0.8888 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.01455, allocations: 474.8 kB / 0.8892 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.01457, allocations: 31.8 kB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.0146, allocations: 8 kB / 0.8892 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.01472, allocations: 31.97 kB / 0.8893 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.01483, allocations: 71.92 kB / 0.8893 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.01485, allocations: 19.98 kB / 0.8894 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.057e-05/0.01494, allocations: 163.1 kB / 0.8895 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01494, allocations: 0 / 0.8895 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002547/0.01519, allocations: 83.95 kB / 0.8896 GB, free: 10.04 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.0001447/0.01533, allocations: 119.1 kB / 0.8897 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.01575, allocations: 280.5 kB / 0.89 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01576, allocations: 4 kB / 0.89 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.01593, allocations: 148.3 kB / 0.8901 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.0162, allocations: 47.97 kB / 0.8902 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.01733, allocations: 0.5729 MB / 0.8907 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.555e-05/0.01741, allocations: 101.5 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.01752, allocations: 38.95 kB / 0.8909 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.01763, allocations: 44.5 kB / 0.8909 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of SimCode: time 1.513e-06/0.01763, allocations: 0 / 0.8909 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of Templates: time 0.006948/0.02458, allocations: 4.041 MB / 0.8949 GB, free: 4.641 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","",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.706046293955296]