Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.001173/0.001174, allocations: 189.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.463/1.463, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0009141/0.0009142, allocations: 87.14 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.714e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6436/0.8466, allocations: 132 MB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.8469, allocations: 71.77 kB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00444/0.8514, allocations: 1.155 MB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.8514, allocations: 0.75 kB / 1.015 GB, free: 5.641 MB / 0.6355 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.0005159/0.8519, allocations: 385.4 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.852, allocations: 8.031 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.852, allocations: 11.81 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.8522, allocations: 170.2 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.8522, allocations: 4 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.8523, allocations: 15.89 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001275/0.8524, allocations: 42.12 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.8525, allocations: 81.16 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.8526, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.8526, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.8526, allocations: 3.984 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.8531, allocations: 319.2 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.8535, allocations: 82.61 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.8537, allocations: 36.14 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.8537, allocations: 7.938 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.8537, allocations: 30.56 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.8537, allocations: 4 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000291/0.854, allocations: 84.59 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.8541, allocations: 55.39 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.8542, allocations: 104 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.8542, allocations: 25.7 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.8543, allocations: 95.53 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.8543, allocations: 19.06 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.8543, allocations: 0 / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8545, allocations: 322.7 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.8545, allocations: 23.06 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/0.8546, allocations: 19.5 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.8546, allocations: 18.7 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8547, allocations: 0 / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000159/0.8548, allocations: 94.53 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8548, allocations: 6.812 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8548, allocations: 0 / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.8549, allocations: 4 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.8551, allocations: 35.91 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.8551, allocations: 0 / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.8553, allocations: 27.92 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.8553, allocations: 3.984 kB / 1.017 GB, free: 3.512 MB / 0.6355 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 9.064e-05/0.8554, allocations: 105 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.8554, allocations: 3.906 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.8557, allocations: 96.06 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8557, allocations: 4 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8557, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8557, allocations: 0 / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.8559, allocations: 176 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8559, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.8561, allocations: 35.84 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.8561, allocations: 7.906 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.8561, allocations: 8 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8561, allocations: 0 / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8561, allocations: 3.938 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002089/0.8564, allocations: 174.2 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.8564, allocations: 87.95 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.8565, allocations: 3.984 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.8566, allocations: 19.98 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.8567, allocations: 19.91 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.8567, allocations: 3.188 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.718e-05/0.8568, allocations: 95.02 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002436/0.8571, allocations: 20.03 kB / 1.018 GB, free: 2.637 MB / 0.6355 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.0001693/0.8572, allocations: 115.1 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.8574, allocations: 53.11 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8574, allocations: 0 / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.8575, allocations: 38.73 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.8577, allocations: 9.625 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.8581, allocations: 110.1 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.8584, allocations: 0.7146 MB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.8585, allocations: 0 / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.003672/0.8621, allocations: 1.384 MB / 1.02 GB, free: 228 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches