Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009583/0.0009583, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009362/0.0009362, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.853/1.853, allocations: 359 MB / 0.6063 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_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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.291e-05, allocations: 7.391 kB / 0.7884 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.005749/0.005772, allocations: 1.969 MB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.006699, allocations: 0.72 MB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.006786, allocations: 1.25 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.006831, allocations: 23.67 kB / 0.791 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.006944, allocations: 48.86 kB / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.007334, allocations: 184.7 kB / 0.7913 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002391/0.009725, allocations: 335 kB / 0.7916 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.009865, allocations: 32.92 kB / 0.7916 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.01021, allocations: 205 kB / 0.7918 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.0104, allocations: 115.6 kB / 0.7919 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.01046, allocations: 28 kB / 0.7919 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.01053, allocations: 36.53 kB / 0.792 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.0106, allocations: 76.86 kB / 0.7921 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.85e-05/0.0107, allocations: 107.7 kB / 0.7922 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.01098, allocations: 239.2 kB / 0.7924 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01099, allocations: 1.594 kB / 0.7924 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.01099, allocations: 0 / 0.7924 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.01099, allocations: 0 / 0.7924 GB, free: 8.027 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.000973/0.01197, allocations: 0.66 MB / 0.793 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.012, allocations: 12.03 kB / 0.793 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.01229, allocations: 76.77 kB / 0.7931 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.01255, allocations: 190.5 kB / 0.7933 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.01281, allocations: 0.4957 MB / 0.7938 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.01286, allocations: 24.38 kB / 0.7938 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.01321, allocations: 212.3 kB / 0.794 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.01323, allocations: 13.28 kB / 0.794 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.01326, allocations: 12.12 kB / 0.794 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.01327, allocations: 4 kB / 0.794 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.01345, allocations: 86.47 kB / 0.7941 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008918/0.01434, allocations: 0.7492 MB / 0.7948 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.01465, allocations: 157.2 kB / 0.795 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.01476, allocations: 71.03 kB / 0.7951 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.0148, allocations: 24.55 kB / 0.7951 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.01512, allocations: 247.2 kB / 0.7953 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.384e-06/0.01513, allocations: 0 / 0.7953 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0006473/0.01577, allocations: 343.9 kB / 0.7957 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.01584, allocations: 117.1 kB / 0.7958 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.016, allocations: 240.4 kB / 0.796 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.01604, allocations: 41.69 kB / 0.796 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.01614, allocations: 172 kB / 0.7962 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.01626, allocations: 154.7 kB / 0.7963 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.01642, allocations: 118.1 kB / 0.7965 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.01658, allocations: 0.5117 MB / 0.797 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.01672, allocations: 65.25 kB / 0.797 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.01695, allocations: 210.6 kB / 0.7972 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.01731, allocations: 288 kB / 0.7975 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.01732, allocations: 0 / 0.7975 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005617/0.01788, allocations: 370.2 kB / 0.7978 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.0179, allocations: 4.719 kB / 0.7979 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.01791, allocations: 7.984 kB / 0.7979 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.01792, allocations: 4.531 kB / 0.7979 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.01825, allocations: 93.42 kB / 0.798 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.01826, allocations: 11.94 kB / 0.798 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.01847, allocations: 55.7 kB / 0.798 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.01851, allocations: 16.53 kB / 0.798 GB, free: 1.766 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.0001519/0.01866, allocations: 203.7 kB / 0.7982 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.01874, allocations: 44.75 kB / 0.7983 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.01879, allocations: 29.97 kB / 0.7983 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.0188, allocations: 4 kB / 0.7983 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.0188, allocations: 4.844 kB / 0.7983 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.01881, allocations: 7.922 kB / 0.7983 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.01907, allocations: 210.2 kB / 0.7985 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01907, allocations: 3.938 kB / 0.7985 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.0194, allocations: 63.91 kB / 0.7986 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.01941, allocations: 8.609 kB / 0.7986 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.01944, allocations: 16.73 kB / 0.7986 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.01945, allocations: 4 kB / 0.7986 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01945, allocations: 1.688 kB / 0.7986 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.02011, allocations: 434.8 kB / 0.799 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.02014, allocations: 35.69 kB / 0.7991 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.02019, allocations: 12.05 kB / 0.7991 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.02037, allocations: 36.84 kB / 0.7991 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.0205, allocations: 63.38 kB / 0.7992 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.02053, allocations: 12 kB / 0.7992 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.809e-05/0.02061, allocations: 176 kB / 0.7993 GB, free: 380 kB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.02061, allocations: 0 / 0.7993 GB, free: 380 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003399/0.02095, allocations: 76 kB / 0.7994 GB, free: 304 kB / 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.0001361/0.02109, allocations: 115.2 kB / 0.7995 GB, free: 180 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.02152, allocations: 253.9 kB / 0.7998 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02152, allocations: 0 / 0.7998 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.02173, allocations: 130.2 kB / 0.7999 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.02206, allocations: 50.09 kB / 0.7999 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.02316, allocations: 0.5637 MB / 0.8005 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.02323, allocations: 100.4 kB / 0.8006 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002095/0.02344, allocations: 37.52 kB / 0.8006 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.02365, allocations: 138.2 kB / 0.8008 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of SimCode: time 8.02e-07/0.02365, allocations: 0 / 0.8008 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of Templates: time 0.006535/0.03019, allocations: 4.491 MB / 0.8051 GB, free: 10.43 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.0425785216502845]