Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") [: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.771/1.771, 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.001038/0.001038, allocations: 188.6 kB / 487 MB, free: 5.402 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.125/1.125, allocations: 221.3 MB / 0.7819 GB, free: 1.457 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.0008121/0.0008121, allocations: 95.8 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.355e-06/8.375e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1816, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5063/0.688, allocations: 152.5 MB / 1.354 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.6882, allocations: 81.34 kB / 1.354 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02677/0.715, allocations: 10.97 MB / 1.365 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.418e-05/0.715, allocations: 8 kB / 1.365 GB, free: 11.96 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006319/0.7157, allocations: 0.5685 MB / 1.366 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.7157, allocations: 9.031 kB / 1.366 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.7158, allocations: 39.44 kB / 1.366 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000691/0.7165, allocations: 440.4 kB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.7165, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.7165, allocations: 8 kB / 1.366 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001287/0.7167, allocations: 64.64 kB / 1.366 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.7168, allocations: 112.6 kB / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.7169, allocations: 0 / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.7169, allocations: 3.984 kB / 1.366 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7169, allocations: 4 kB / 1.366 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/0.7176, allocations: 0.5371 MB / 1.367 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.7177, allocations: 110.7 kB / 1.367 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.7178, allocations: 46.78 kB / 1.367 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.7178, allocations: 0 / 1.367 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.718, allocations: 101.1 kB / 1.367 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.718, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0002479/0.7182, allocations: 140.9 kB / 1.367 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.7183, allocations: 51.41 kB / 1.367 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.7187, allocations: 480 kB / 1.368 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.7187, allocations: 33.64 kB / 1.368 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.7187, allocations: 130 kB / 1.368 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.7188, allocations: 39.16 kB / 1.368 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.7188, allocations: 0 / 1.368 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.7189, allocations: 355.8 kB / 1.368 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.719, allocations: 113 kB / 1.368 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.7191, allocations: 150.4 kB / 1.368 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.7194, allocations: 138.7 kB / 1.369 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7195, allocations: 0 / 1.369 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005162/0.72, allocations: 349 kB / 1.369 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.72, allocations: 11.92 kB / 1.369 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.72, allocations: 0 / 1.369 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.72, allocations: 4 kB / 1.369 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.7202, allocations: 43.42 kB / 1.369 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.7202, allocations: 0 / 1.369 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.7204, allocations: 35.83 kB / 1.369 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.7204, allocations: 15.05 kB / 1.369 GB, free: 8.297 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 6.493e-05/0.7205, allocations: 109 kB / 1.369 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.7206, allocations: 35.53 kB / 1.369 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.7208, allocations: 165.2 kB / 1.369 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7208, allocations: 0 / 1.369 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7208, allocations: 3.984 kB / 1.369 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.7208, allocations: 7.984 kB / 1.369 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.721, allocations: 285.5 kB / 1.37 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.721, allocations: 0 / 1.37 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.7211, allocations: 15.98 kB / 1.37 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7211, allocations: 0 / 1.37 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.7211, allocations: 0 / 1.37 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7211, allocations: 4 kB / 1.37 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7211, allocations: 0 / 1.37 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001843/0.7213, allocations: 190.3 kB / 1.37 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.7214, allocations: 111.7 kB / 1.37 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.7214, allocations: 11.8 kB / 1.37 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.7216, allocations: 15.98 kB / 1.37 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.7216, allocations: 15.88 kB / 1.37 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7216, allocations: 7.812 kB / 1.37 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002264/0.7219, allocations: 315.9 kB / 1.37 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002726/0.7221, allocations: 75.12 kB / 1.37 GB, free: 7.07 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: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000617/0.7228, allocations: 335.7 kB / 1.371 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.723, allocations: 181.8 kB / 1.371 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.723, allocations: 0 / 1.371 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.7231, allocations: 58.23 kB / 1.371 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.7235, allocations: 90.19 kB / 1.371 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006322/0.7241, allocations: 449.1 kB / 1.371 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.7245, allocations: 0.8393 MB / 1.372 GB, free: 21.32 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/0.7245, allocations: 0 / 1.372 GB, free: 21.32 MB / 0.823 GB Notification: Performance of Templates: time 0.005994/0.7305, allocations: 3.674 MB / 1.376 GB, free: 17.72 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,les.u1,les.u2,les.y,lesHys.y Variables in the result:les.h,les.have_hysteresis,les.pre_y_start,les.u1,les.u2,les.y,lesHys.h,lesHys.have_hysteresis,lesHys.lesHys.h,lesHys.lesHys.pre_y_start,lesHys.lesHys.y,lesHys.pre_y_start,lesHys.y,timTabLin.extrapolation,timTabLin.nT,timTabLin.nout,timTabLin.offset[1],timTabLin.smoothness,timTabLin.t0,timTabLin.tab.columns[1],timTabLin.tab.extrapolation,timTabLin.tab.nout,timTabLin.tab.offset[1],timTabLin.tab.p_offset[1],timTabLin.tab.shiftTime,timTabLin.tab.smoothness,timTabLin.tab.startTime,timTabLin.tab.t_max,timTabLin.tab.t_maxScaled,timTabLin.tab.t_min,timTabLin.tab.t_minScaled,timTabLin.tab.tableOnFile,timTabLin.tab.table[1,1],timTabLin.tab.table[1,2],timTabLin.tab.table[2,1],timTabLin.tab.table[2,2],timTabLin.tab.table[3,1],timTabLin.tab.table[3,2],timTabLin.tab.table[4,1],timTabLin.tab.table[4,2],timTabLin.tab.table[5,1],timTabLin.tab.table[5,2],timTabLin.tab.timeEvents,timTabLin.tab.timeScale,timTabLin.tab.verboseExtrapolation,timTabLin.tab.verboseRead,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeRange,timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.nT,timTabLin1.nout,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.t0,timTabLin1.tab.columns[1],timTabLin1.tab.extrapolation,timTabLin1.tab.nout,timTabLin1.tab.offset[1],timTabLin1.tab.p_offset[1],timTabLin1.tab.shiftTime,timTabLin1.tab.smoothness,timTabLin1.tab.startTime,timTabLin1.tab.t_max,timTabLin1.tab.t_maxScaled,timTabLin1.tab.t_min,timTabLin1.tab.t_minScaled,timTabLin1.tab.tableOnFile,timTabLin1.tab.table[1,1],timTabLin1.tab.table[1,2],timTabLin1.tab.table[2,1],timTabLin1.tab.table[2,2],timTabLin1.tab.table[3,1],timTabLin1.tab.table[3,2],timTabLin1.tab.table[4,1],timTabLin1.tab.table[4,2],timTabLin1.tab.table[5,1],timTabLin1.tab.table[5,2],timTabLin1.tab.timeEvents,timTabLin1.tab.timeScale,timTabLin1.tab.verboseExtrapolation,timTabLin1.tab.verboseRead,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeRange,timTabLin1.timeScale,timTabLin1.y[1],time