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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [: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.338/1.338, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.001187/0.001187, allocations: 188 kB / 316 MB, free: 3.477 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.465/1.465, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.001017/0.001017, allocations: 90.77 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.177e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2191, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6218/0.841, allocations: 131.9 MB / 1.013 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.8413, allocations: 78.95 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002644/0.8439, allocations: 0.6505 MB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.8439, allocations: 6.672 kB / 1.014 GB, free: 6.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00038/0.8443, allocations: 358.2 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.8444, allocations: 8.781 kB / 1.015 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.8444, allocations: 3.906 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.8445, allocations: 163.1 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.8446, allocations: 3.625 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.8446, allocations: 4 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.923e-05/0.8447, allocations: 22.72 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.8448, allocations: 52.36 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8448, allocations: 0 / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.8448, allocations: 7.938 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.8448, allocations: 7.938 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.8452, allocations: 262.3 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/0.8453, allocations: 48.75 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.8453, allocations: 18.95 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.8453, allocations: 4 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.8454, allocations: 30.56 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.394e-06/0.8454, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001635/0.8455, allocations: 64.84 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.8456, allocations: 51.41 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.8456, allocations: 105.4 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.8457, allocations: 25.7 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.8457, allocations: 88.14 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.8457, allocations: 7.812 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.8457, allocations: 0 / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8459, allocations: 318.4 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.8459, allocations: 11.19 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.8459, allocations: 7.562 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.846, allocations: 11.94 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.846, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.809e-05/0.8461, allocations: 64.27 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.8461, allocations: 4 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.8461, allocations: 4 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.8461, allocations: 4 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.8463, allocations: 11.98 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.8463, allocations: 320 / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.8464, allocations: 19.98 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.8464, allocations: 3.875 kB / 1.016 GB, free: 4.254 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: 2 (intLesThr.u,intLesThr.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 5.866e-05/0.8465, allocations: 104.9 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.8465, allocations: 7.906 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.8465, allocations: 7.938 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.8465, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8465, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8465, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.8467, allocations: 156.7 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.8467, allocations: 4 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.8468, allocations: 15.42 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8469, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.8469, allocations: 4 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8469, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.8469, allocations: 3.984 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001439/0.847, allocations: 165.8 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.8471, allocations: 84.95 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.8471, allocations: 0.875 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.8472, allocations: 11.98 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.8473, allocations: 7.984 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.8473, allocations: 0 / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.144e-05/0.8474, allocations: 90.28 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002171/0.8476, allocations: 12 kB / 1.017 GB, free: 3.531 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: 2 (intLesThr.u,intLesThr.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 0.0001123/0.8477, allocations: 106.7 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.083e-05/0.8478, allocations: 26.56 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.8478, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.8479, allocations: 22.73 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.848, allocations: 0.5625 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.8483, allocations: 94.03 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.8486, allocations: 0.6958 MB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.8486, allocations: 3.938 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of Templates: time 0.002429/0.851, allocations: 0.7997 MB / 1.018 GB, free: 1.773 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches