Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.742/1.742, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 180.3 kB / 487 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.095/1.095, allocations: 221.3 MB / 0.7819 GB, free: 6.805 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008806, allocations: 102.3 kB / 0.9213 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 9.027e-06/9.057e-06, allocations: 4 kB / 1.066 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.519, allocations: 142.3 MB / 1.205 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.6719, allocations: 152.6 MB / 1.354 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.6721, allocations: 75.95 kB / 1.354 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02631/0.6984, allocations: 10.66 MB / 1.365 GB, free: 72 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.6985, allocations: 4 kB / 1.365 GB, free: 68 kB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006313/0.6991, allocations: 0.5313 MB / 1.365 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.6992, allocations: 12.03 kB / 1.365 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.6993, allocations: 31.61 kB / 1.365 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/0.6999, allocations: 401 kB / 1.366 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.6999, allocations: 4 kB / 1.366 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.6999, allocations: 4 kB / 1.366 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001191/0.7, allocations: 60.59 kB / 1.366 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.7002, allocations: 97.64 kB / 1.366 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7002, allocations: 3.938 kB / 1.366 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.7002, allocations: 7.938 kB / 1.366 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7002, allocations: 3.906 kB / 1.366 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.7008, allocations: 485.2 kB / 1.366 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.701, allocations: 126.6 kB / 1.366 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.298e-05/0.7011, allocations: 45.48 kB / 1.366 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.7011, allocations: 0 / 1.366 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.7012, allocations: 97.14 kB / 1.367 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.7013, allocations: 4 kB / 1.367 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0002595/0.7015, allocations: 153.3 kB / 1.367 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.7016, allocations: 55.34 kB / 1.367 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.702, allocations: 457.9 kB / 1.367 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.702, allocations: 25.7 kB / 1.367 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.7021, allocations: 128.3 kB / 1.367 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.7021, allocations: 31.61 kB / 1.367 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.7022, allocations: 0 / 1.367 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.7023, allocations: 354.8 kB / 1.368 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7024, allocations: 112.5 kB / 1.368 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.7026, allocations: 143.5 kB / 1.368 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.7029, allocations: 140.9 kB / 1.368 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7029, allocations: 3.938 kB / 1.368 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005702/0.7035, allocations: 361 kB / 1.368 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.7035, allocations: 7.984 kB / 1.368 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7036, allocations: 0 / 1.368 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.7036, allocations: 4 kB / 1.368 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.7038, allocations: 52.59 kB / 1.368 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7038, allocations: 7.375 kB / 1.368 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.704, allocations: 11.84 kB / 1.368 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.704, allocations: 15.98 kB / 1.369 GB, free: 11.95 MB / 0.8698 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,intLes.u1,intLes.u2,intLes.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 7.254e-05/0.7041, allocations: 122.4 kB / 1.369 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.7041, allocations: 31.53 kB / 1.369 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.7044, allocations: 172.6 kB / 1.369 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.7044, allocations: 0 / 1.369 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.7044, allocations: 0 / 1.369 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7044, allocations: 4 kB / 1.369 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.7047, allocations: 278.5 kB / 1.369 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7047, allocations: 4 kB / 1.369 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.7047, allocations: 21.05 kB / 1.369 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7048, allocations: 3.984 kB / 1.369 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7048, allocations: 7.984 kB / 1.369 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7048, allocations: 0 / 1.369 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7048, allocations: 0 / 1.369 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002267/0.705, allocations: 197.2 kB / 1.369 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.7051, allocations: 116.6 kB / 1.369 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.7052, allocations: 8 kB / 1.369 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.7053, allocations: 4.625 kB / 1.369 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.7053, allocations: 19.97 kB / 1.369 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.7054, allocations: 11.98 kB / 1.369 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002598/0.7056, allocations: 292.6 kB / 1.37 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002709/0.7059, allocations: 75.86 kB / 1.37 GB, free: 10.54 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0005758/0.7065, allocations: 318.4 kB / 1.37 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.7067, allocations: 183.9 kB / 1.37 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.7068, allocations: 0 / 1.37 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.324e-05/0.7068, allocations: 68.58 kB / 1.37 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.7072, allocations: 76.39 kB / 1.37 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/0.7079, allocations: 433.1 kB / 1.371 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.7082, allocations: 0.8218 MB / 1.372 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of SimCode: time 1.804e-06/0.7083, allocations: 0 / 1.372 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of Templates: time 0.006576/0.7148, allocations: 3.643 MB / 1.375 GB, free: 5.18 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches