Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [: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.782/1.782, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009584/0.0009584, allocations: 172.5 kB / 487 MB, free: 5.406 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008442/0.0008443, allocations: 87.08 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.052e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1838, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4891/0.6729, allocations: 148.3 MB / 1.35 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.6731, allocations: 65.05 kB / 1.35 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002288/0.6754, allocations: 0.6396 MB / 1.351 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6755, allocations: 0.9688 kB / 1.351 GB, free: 15.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002789/0.6757, allocations: 349.8 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.6758, allocations: 8.562 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.6758, allocations: 6.062 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.6759, allocations: 176.1 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.6759, allocations: 1.281 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.6759, allocations: 2.438 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.27e-05/0.676, allocations: 26.09 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.645e-05/0.6761, allocations: 51.41 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.6761, allocations: 0 / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.6761, allocations: 0 / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.6761, allocations: 2.594 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.6764, allocations: 261.6 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.182e-05/0.6765, allocations: 46.08 kB / 1.352 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.6765, allocations: 24.95 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.6766, allocations: 3.906 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.002e-05/0.6766, allocations: 35.88 kB / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.6766, allocations: 0 / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001468/0.6767, allocations: 56.81 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.259e-05/0.6768, allocations: 53.8 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.653e-05/0.6768, allocations: 98.95 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.6768, allocations: 33.64 kB / 1.352 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.624e-05/0.6768, allocations: 86.97 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.6769, allocations: 8.531 kB / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.6769, allocations: 0 / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.13e-05/0.6769, allocations: 314.8 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.6769, allocations: 14.31 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.677, allocations: 9.969 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.677, allocations: 6.906 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.677, allocations: 1.312 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.098e-05/0.6771, allocations: 65.58 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.6771, allocations: 4.812 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.6771, allocations: 0 / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6771, allocations: 1.469 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.6773, allocations: 19.86 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.6773, allocations: 320 / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.6774, allocations: 19.14 kB / 1.352 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.6774, allocations: 1.125 kB / 1.352 GB, free: 14.13 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.015e-05/0.6774, allocations: 114.6 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.6775, allocations: 5.359 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.6775, allocations: 12.97 kB / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6775, allocations: 1.594 kB / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6775, allocations: 1.125 kB / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.6775, allocations: 0 / 1.353 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.6776, allocations: 152.3 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.6776, allocations: 0 / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.6777, allocations: 18.61 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6777, allocations: 1.375 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.6777, allocations: 1.312 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6777, allocations: 7.891 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6777, allocations: 5.312 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.914e-05/0.6778, allocations: 154.5 kB / 1.353 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.6779, allocations: 82.39 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.6779, allocations: 3.016 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.678, allocations: 10.06 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.6781, allocations: 10.78 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.6781, allocations: 6.953 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.013e-05/0.6781, allocations: 87.12 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002052/0.6783, allocations: 18.11 kB / 1.353 GB, free: 13.51 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.066e-05/0.6784, allocations: 99.89 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.575e-05/0.6785, allocations: 30.17 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6785, allocations: 1.5 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.6785, allocations: 20.17 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.6787, allocations: 3.781 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.6789, allocations: 78.09 kB / 1.353 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.679, allocations: 0.7007 MB / 1.354 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.679, allocations: 0 / 1.354 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of Templates: time 0.002241/0.6813, allocations: 0.7889 MB / 1.355 GB, free: 12.59 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches