Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [: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.798/1.798, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009914/0.0009917, allocations: 173.2 kB / 487 MB, free: 5.344 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.344 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.000826/0.0008259, allocations: 96.59 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.632e-06/6.653e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1887, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5017/0.6904, allocations: 148.3 MB / 1.35 GB, free: 16.26 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.6906, allocations: 64.91 kB / 1.35 GB, free: 16.26 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003874/0.6945, allocations: 1.139 MB / 1.351 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6945, allocations: 1.25 kB / 1.351 GB, free: 16.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003879/0.6949, allocations: 380.1 kB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.6949, allocations: 10.16 kB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.695, allocations: 8.094 kB / 1.352 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/0.6951, allocations: 178.9 kB / 1.352 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.6951, allocations: 9 kB / 1.352 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.6951, allocations: 3.906 kB / 1.352 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001136/0.6952, allocations: 47.7 kB / 1.352 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.6954, allocations: 71.47 kB / 1.352 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.6954, allocations: 0 / 1.352 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6954, allocations: 0 / 1.352 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.6954, allocations: 2.188 kB / 1.352 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.6958, allocations: 320.2 kB / 1.352 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.6962, allocations: 91.7 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.6963, allocations: 26.3 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.6963, allocations: 1.375 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.6963, allocations: 41.38 kB / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.6963, allocations: 0 / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001935/0.6965, allocations: 79.81 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.365e-05/0.6965, allocations: 52.5 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.6966, allocations: 115.8 kB / 1.353 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.6966, allocations: 26.7 kB / 1.353 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/0.6966, allocations: 93.73 kB / 1.353 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.6967, allocations: 22.19 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.6967, allocations: 0 / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.6967, allocations: 323 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.6968, allocations: 23.33 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.6968, allocations: 23.23 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.318e-05/0.6968, allocations: 19.86 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6968, allocations: 0 / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00013/0.697, allocations: 85.58 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.697, allocations: 4.969 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.697, allocations: 1.406 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.697, allocations: 1.359 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.6972, allocations: 34.33 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.6972, allocations: 5.875 kB / 1.353 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.6974, allocations: 24.89 kB / 1.353 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.6974, allocations: 4.047 kB / 1.353 GB, free: 14.55 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: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.282e-05/0.6974, allocations: 102.3 kB / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.6975, allocations: 7.688 kB / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.6977, allocations: 93.19 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6977, allocations: 5.062 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6977, allocations: 0.6562 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6977, allocations: 0 / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.6978, allocations: 178.6 kB / 1.354 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6978, allocations: 3.938 kB / 1.354 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.698, allocations: 38.64 kB / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.698, allocations: 1.156 kB / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.698, allocations: 2.359 kB / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.698, allocations: 0 / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.698, allocations: 1.062 kB / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001446/0.6982, allocations: 182.2 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.6982, allocations: 85.27 kB / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.6983, allocations: 0 / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.6984, allocations: 29.58 kB / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.6985, allocations: 18.58 kB / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.6985, allocations: 6.547 kB / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.981e-05/0.6985, allocations: 97.5 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002152/0.6988, allocations: 17.12 kB / 1.354 GB, free: 13.91 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: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 0.0001017/0.6989, allocations: 110.2 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.699, allocations: 57.12 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.699, allocations: 0 / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-05/0.6991, allocations: 36.59 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.6993, allocations: 7.953 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.6996, allocations: 118.2 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.6999, allocations: 0.7116 MB / 1.355 GB, free: 29.02 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.6999, allocations: 0 / 1.355 GB, free: 29.02 MB / 0.823 GB Notification: Performance of Templates: time 0.003253/0.7031, allocations: 1.378 MB / 1.356 GB, free: 28.95 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches