Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [: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 10.0.0-master/package.mo): time 1.662/1.662, allocations: 390.4 MB / 397.7 MB, free: 10.71 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.0009143/0.0009142, allocations: 179.2 kB / 490.8 MB, free: 13.27 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.023/1.023, allocations: 221.4 MB / 0.7863 GB, free: 2.672 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.0007692/0.0007692, allocations: 87.19 kB / 0.9264 GB, free: 40 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.153e-06/7.163e-06, allocations: 4 kB / 1.072 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4278, allocations: 143 MB / 1.212 GB, free: 63.54 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5603, allocations: 149.1 MB / 1.357 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.5605, allocations: 75.94 kB / 1.357 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.00378/0.5643, allocations: 1.144 MB / 1.358 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5643, allocations: 0 / 1.358 GB, free: 6.586 MB / 0.8542 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.0004176/0.5648, allocations: 378.3 kB / 1.359 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.5648, allocations: 12.03 kB / 1.359 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.5648, allocations: 7.906 kB / 1.359 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.565, allocations: 190.8 kB / 1.359 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.565, allocations: 8 kB / 1.359 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.565, allocations: 0 / 1.359 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.5651, allocations: 51.98 kB / 1.359 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.5652, allocations: 65.66 kB / 1.359 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5653, allocations: 0 / 1.359 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5653, allocations: 0 / 1.359 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5653, allocations: 0 / 1.359 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.5657, allocations: 321.1 kB / 1.359 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.5661, allocations: 82.61 kB / 1.359 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.5662, allocations: 32.91 kB / 1.36 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.5662, allocations: 4 kB / 1.36 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.5662, allocations: 38.5 kB / 1.36 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5662, allocations: 0 / 1.36 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001911/0.5664, allocations: 81.73 kB / 1.36 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.5664, allocations: 55.39 kB / 1.36 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.5665, allocations: 105 kB / 1.36 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.5665, allocations: 25.7 kB / 1.36 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.5666, allocations: 99.97 kB / 1.36 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.5666, allocations: 19.66 kB / 1.36 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.5666, allocations: 4 kB / 1.36 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.5667, allocations: 318.8 kB / 1.36 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.5667, allocations: 20 kB / 1.36 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.5668, allocations: 16 kB / 1.36 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.5668, allocations: 23.98 kB / 1.36 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5668, allocations: 0 / 1.36 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001317/0.5669, allocations: 89.45 kB / 1.36 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.567, allocations: 4 kB / 1.36 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.567, allocations: 0 / 1.36 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.567, allocations: 4 kB / 1.36 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.5672, allocations: 31.97 kB / 1.36 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.5672, allocations: 320 / 1.36 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.5673, allocations: 23.98 kB / 1.36 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5673, allocations: 7.906 kB / 1.36 GB, free: 4.309 MB / 0.8542 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 (intLesEqu.u1,intLesEqu.u2,intLesEqu.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 5.226e-05/0.5674, allocations: 105 kB / 1.361 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.5674, allocations: 7.906 kB / 1.361 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.5674, allocations: 8.375 kB / 1.361 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5674, allocations: 0 / 1.361 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5674, allocations: 4 kB / 1.361 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5675, allocations: 4 kB / 1.361 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.5676, allocations: 170.1 kB / 1.361 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5676, allocations: 0 / 1.361 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.5678, allocations: 35.91 kB / 1.361 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.5678, allocations: 4 kB / 1.361 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5678, allocations: 7.922 kB / 1.361 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5678, allocations: 0 / 1.361 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5678, allocations: 3.984 kB / 1.361 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001563/0.568, allocations: 179.4 kB / 1.361 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.568, allocations: 89 kB / 1.361 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.568, allocations: 4 kB / 1.361 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.5682, allocations: 23.98 kB / 1.361 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.5683, allocations: 15.97 kB / 1.361 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.5683, allocations: 7.984 kB / 1.361 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.772e-05/0.5683, allocations: 94.56 kB / 1.361 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002055/0.5685, allocations: 15.91 kB / 1.361 GB, free: 3.473 MB / 0.8542 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 (intLesEqu.u1,intLesEqu.u2,intLesEqu.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.0001007/0.5686, allocations: 115.1 kB / 1.361 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.5688, allocations: 48 kB / 1.361 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.5688, allocations: 0 / 1.361 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.5689, allocations: 43.92 kB / 1.361 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.569, allocations: 7.969 kB / 1.361 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.5693, allocations: 115.4 kB / 1.362 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.5696, allocations: 0.7153 MB / 1.362 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/0.5696, allocations: 0 / 1.362 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of Templates: time 0.002776/0.5723, allocations: 1.382 MB / 1.364 GB, free: 1.004 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches