Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") [: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 9.1.1-maint.9.1.x/package.mo): time 1.779/1.779, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 176.3 kB / 487 MB, free: 5.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.11/1.11, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008217/0.0008217, allocations: 92.27 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.556e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.177, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5248/0.7019, allocations: 148 MB / 1.35 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.7021, allocations: 70.48 kB / 1.35 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001889/0.704, allocations: 0.5161 MB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.704, allocations: 1.375 kB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003114/0.7044, allocations: 359.2 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.7044, allocations: 8.875 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.7044, allocations: 9.938 kB / 1.351 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.137e-05/0.7045, allocations: 171.4 kB / 1.351 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.7045, allocations: 0.875 kB / 1.351 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.7045, allocations: 1.375 kB / 1.351 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.732e-05/0.7046, allocations: 17.5 kB / 1.351 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.436e-05/0.7047, allocations: 41.02 kB / 1.351 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.7047, allocations: 0 / 1.351 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.7047, allocations: 1.375 kB / 1.351 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7047, allocations: 0 / 1.351 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.7051, allocations: 294.8 kB / 1.351 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/0.7052, allocations: 33.77 kB / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.7052, allocations: 19.84 kB / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.7052, allocations: 0 / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.013e-05/0.7053, allocations: 35.09 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.7053, allocations: 4 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001314/0.7054, allocations: 56.23 kB / 1.351 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.345e-05/0.7054, allocations: 51.41 kB / 1.351 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.498e-05/0.7055, allocations: 98.34 kB / 1.351 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.7055, allocations: 26.45 kB / 1.351 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.692e-05/0.7055, allocations: 87.38 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.7055, allocations: 10.62 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.7055, allocations: 0 / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.7056, allocations: 311.9 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.7056, allocations: 16.81 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.7056, allocations: 5 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.964e-05/0.7056, allocations: 11.19 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.7057, allocations: 6.625 kB / 1.352 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.282e-05/0.7057, allocations: 54.45 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.7057, allocations: 4.719 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.7058, allocations: 0 / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.7058, allocations: 1.094 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.7059, allocations: 25.42 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.7059, allocations: 1.125 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.706, allocations: 21.66 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.706, allocations: 1.062 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 3.785e-05/0.7061, allocations: 106.7 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.7061, allocations: 5.125 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.7061, allocations: 8.594 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7061, allocations: 1.125 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7062, allocations: 1.547 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7062, allocations: 2.5 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.495e-05/0.7063, allocations: 151.4 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.7063, allocations: 0 / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.7064, allocations: 25.62 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.7064, allocations: 1.031 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.7064, allocations: 0 / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.7064, allocations: 2.578 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7064, allocations: 4 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.374e-05/0.7065, allocations: 143.5 kB / 1.352 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.7065, allocations: 85.72 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.7065, allocations: 1.188 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.7067, allocations: 21.72 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.7067, allocations: 8.016 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.7067, allocations: 4.656 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.256e-05/0.7067, allocations: 83.88 kB / 1.353 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001896/0.7069, allocations: 9.062 kB / 1.353 GB, free: 13.74 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 8.899e-05/0.707, allocations: 99.39 kB / 1.353 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.7071, allocations: 29.09 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.7071, allocations: 0 / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.7072, allocations: 14.38 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.7073, allocations: 4.812 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.7075, allocations: 76.7 kB / 1.353 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.7077, allocations: 0.6974 MB / 1.354 GB, free: 28.87 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.7077, allocations: 4 kB / 1.354 GB, free: 28.87 MB / 0.823 GB Notification: Performance of Templates: time 0.002026/0.7098, allocations: 0.6173 MB / 1.354 GB, free: 28.81 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches