Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001437/0.001437, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00168/0.00168, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.001/2.001, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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,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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.332e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001677/0.0017, allocations: 1.113 MB / 0.7612 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.002919, allocations: 1.175 MB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.002983, allocations: 0.6562 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.003022, allocations: 17.81 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.003122, allocations: 44.17 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.003483, allocations: 156.5 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.003732, allocations: 335 kB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003847, allocations: 43.22 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.004084, allocations: 187.7 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.004234, allocations: 128.3 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.004274, allocations: 30.19 kB / 0.7633 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.584e-05/0.00437, allocations: 35.98 kB / 0.7633 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.004425, allocations: 75.78 kB / 0.7634 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.004492, allocations: 99.72 kB / 0.7635 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.00469, allocations: 231.2 kB / 0.7637 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004692, allocations: 0 / 0.7637 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004693, allocations: 5.531 kB / 0.7637 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004697, allocations: 4 kB / 0.7637 GB, free: 2.906 MB / 0.7136 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.0006451/0.005342, allocations: 0.5305 MB / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.005374, allocations: 12.03 kB / 0.7642 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.005561, allocations: 67.66 kB / 0.7643 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.642e-05/0.005657, allocations: 142.3 kB / 0.7644 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.005861, allocations: 0.4919 MB / 0.7649 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.005899, allocations: 28.33 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.006124, allocations: 211.7 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.006139, allocations: 8.172 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.006154, allocations: 7.125 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.006162, allocations: 12.12 kB / 0.7652 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.00627, allocations: 70.97 kB / 0.7652 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.006803, allocations: 0.4962 MB / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.006997, allocations: 136.6 kB / 0.7658 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.007063, allocations: 59.53 kB / 0.7659 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.007091, allocations: 15.94 kB / 0.7659 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.007305, allocations: 245 kB / 0.7661 GB, free: 156 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.463e-06/0.007306, allocations: 0 / 0.7661 GB, free: 156 kB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0003263/0.007633, allocations: 250.9 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.007684, allocations: 118.7 kB / 0.7665 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.00778, allocations: 180.3 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.007805, allocations: 37.7 kB / 0.7667 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.007854, allocations: 117.2 kB / 0.7668 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-05/0.007949, allocations: 158.7 kB / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.008048, allocations: 106.3 kB / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.00815, allocations: 346.7 kB / 0.7674 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.008227, allocations: 57.28 kB / 0.7675 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.008378, allocations: 164.8 kB / 0.7676 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.008645, allocations: 265.9 kB / 0.7679 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.008649, allocations: 2.938 kB / 0.7679 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000313/0.008962, allocations: 281.9 kB / 0.7681 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.008977, allocations: 8 kB / 0.7681 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.008985, allocations: 4 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.009002, allocations: 4 kB / 0.7682 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.00923, allocations: 99.83 kB / 0.7683 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.009236, allocations: 7.938 kB / 0.7683 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.009357, allocations: 61.38 kB / 0.7683 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.009377, allocations: 15.94 kB / 0.7683 GB, free: 13.77 MB / 0.7292 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.0001003/0.009477, allocations: 158.2 kB / 0.7685 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.009516, allocations: 31.97 kB / 0.7685 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.009561, allocations: 33.97 kB / 0.7685 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.009565, allocations: 4 kB / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.00957, allocations: 0 / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.009577, allocations: 7.984 kB / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.009749, allocations: 181.4 kB / 0.7687 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.00975, allocations: 4 kB / 0.7687 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.009954, allocations: 71.91 kB / 0.7688 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.009958, allocations: 4 kB / 0.7688 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.009978, allocations: 11.98 kB / 0.7688 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009979, allocations: 0 / 0.7688 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.009982, allocations: 4.062 kB / 0.7688 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.01034, allocations: 331 kB / 0.7691 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.01037, allocations: 39.73 kB / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.01039, allocations: 11.2 kB / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.01048, allocations: 27.97 kB / 0.7692 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.01058, allocations: 71.84 kB / 0.7693 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01059, allocations: 11.98 kB / 0.7693 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.01062, allocations: 41.66 kB / 0.7693 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01063, allocations: 0 / 0.7693 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001767/0.0108, allocations: 80 kB / 0.7694 GB, free: 12.62 MB / 0.7292 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 9.812e-05/0.0109, allocations: 99.83 kB / 0.7695 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.01117, allocations: 245 kB / 0.7697 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01118, allocations: 0 / 0.7697 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.01131, allocations: 122.2 kB / 0.7699 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.0115, allocations: 46.83 kB / 0.7699 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.01241, allocations: 0.553 MB / 0.7704 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.001e-05/0.01247, allocations: 98.45 kB / 0.7705 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.932e-05/0.01256, allocations: 42.8 kB / 0.7706 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.01271, allocations: 112.3 kB / 0.7707 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.01271, allocations: 0 / 0.7707 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.006318/0.01903, allocations: 3.945 MB / 0.7745 GB, free: 7.496 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MovingAverage.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.309715026989579]