Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movingMean_1.y|movingMean_2.y|movingMean_3.y|movingMean_4.y|sinInp50sDel.y|movingMean_6.y|movingMean_7.y|sinInp100sDel.y|movingMean_8.y|movingMean_9.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movingMean_1.y|movingMean_2.y|movingMean_3.y|movingMean_4.y|sinInp50sDel.y|movingMean_6.y|movingMean_7.y|sinInp100sDel.y|movingMean_8.y|movingMean_9.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 185.2 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 103 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.045e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2288, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6379/0.8668, allocations: 132.7 MB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.867, allocations: 69.64 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02322/0.8903, allocations: 8.384 MB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.8903, allocations: 8 kB / 1.022 GB, free: 15.2 MB / 0.6511 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.001228/0.8916, allocations: 0.6107 MB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.8916, allocations: 12.03 kB / 1.023 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.8917, allocations: 35.62 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.8919, allocations: 203.2 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.8921, allocations: 251.7 kB / 1.024 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.8922, allocations: 23.98 kB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002963/0.8925, allocations: 131.4 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.8928, allocations: 220.7 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.8928, allocations: 7.188 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.8929, allocations: 7.938 kB / 1.024 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.8929, allocations: 4 kB / 1.024 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.894, allocations: 0.7309 MB / 1.025 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.8944, allocations: 170 kB / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.8945, allocations: 108.8 kB / 1.025 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.8946, allocations: 19.72 kB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.8949, allocations: 243.7 kB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.853e-06/0.8949, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0005198/0.8955, allocations: 275.6 kB / 1.025 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.8955, allocations: 118.6 kB / 1.026 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.8957, allocations: 150.4 kB / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.8957, allocations: 33.02 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.8958, allocations: 104.2 kB / 1.026 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.8959, allocations: 146.2 kB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.8959, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8961, allocations: 344.5 kB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.8963, allocations: 114.5 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.8965, allocations: 215.2 kB / 1.027 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.8968, allocations: 131.8 kB / 1.027 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8968, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006115/0.8974, allocations: 398.2 kB / 1.027 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8974, allocations: 8 kB / 1.027 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8974, allocations: 3.906 kB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.8974, allocations: 8 kB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.8979, allocations: 99.7 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.8979, allocations: 12.69 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.8982, allocations: 59.72 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.8983, allocations: 23.88 kB / 1.027 GB, free: 10.6 MB / 0.6511 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 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.8984, allocations: 130.2 kB / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.8985, allocations: 34.94 kB / 1.027 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.8986, allocations: 31.98 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.8986, allocations: 8 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.8986, allocations: 0 / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.8986, allocations: 3.984 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.8989, allocations: 307.3 kB / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8989, allocations: 7.938 kB / 1.028 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.8994, allocations: 75.58 kB / 1.028 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.8994, allocations: 8 kB / 1.028 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.8994, allocations: 7.984 kB / 1.028 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8995, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8995, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007884/0.9003, allocations: 0.5101 MB / 1.028 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.9003, allocations: 100.8 kB / 1.028 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.9004, allocations: 7.562 kB / 1.028 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.9007, allocations: 43.95 kB / 1.029 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.9008, allocations: 34.67 kB / 1.029 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.9008, allocations: 18.98 kB / 1.029 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.937e-05/0.9009, allocations: 118.2 kB / 1.029 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000305/0.9012, allocations: 64 kB / 1.029 GB, free: 9.238 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002257/0.9015, allocations: 128.4 kB / 1.029 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005379/0.902, allocations: 316.8 kB / 1.029 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.902, allocations: 0 / 1.029 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.9023, allocations: 155.1 kB / 1.029 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.9026, allocations: 31.66 kB / 1.029 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.9036, allocations: 483.2 kB / 1.03 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.9041, allocations: 0.8181 MB / 1.031 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9041, allocations: 0 / 1.031 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of Templates: time 0.00731/0.9114, allocations: 3.826 MB / 1.034 GB, free: 3.676 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches