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.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [: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.277/1.277, allocations: 249.4 MB / 256.7 MB, free: 15.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 180.4 kB / 316 MB, free: 7.203 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.742/1.742, allocations: 205.1 MB / 0.5667 GB, free: 23.6 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.0008626/0.0008626, allocations: 86.34 kB / 0.671 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.606e-06, allocations: 0 / 0.7807 GB, free: 436 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6083, allocations: 106.3 MB / 0.8846 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.7814, allocations: 130.8 MB / 1.012 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.7817, allocations: 71.95 kB / 1.012 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.002801/0.7845, allocations: 0.6306 MB / 1.013 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.7846, allocations: 8 kB / 1.013 GB, free: 8.508 MB / 0.6667 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.0004914/0.7851, allocations: 350.3 kB / 1.013 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.7851, allocations: 8.031 kB / 1.013 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.7852, allocations: 11.91 kB / 1.013 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.7854, allocations: 167 kB / 1.014 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.7854, allocations: 8 kB / 1.014 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.7854, allocations: 0 / 1.014 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.726e-05/0.7855, allocations: 31.98 kB / 1.014 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.7856, allocations: 57.56 kB / 1.014 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.7856, allocations: 0 / 1.014 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.7857, allocations: 0 / 1.014 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.7857, allocations: 0 / 1.014 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.7862, allocations: 273.2 kB / 1.014 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.7863, allocations: 46.61 kB / 1.014 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.7863, allocations: 20.98 kB / 1.014 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.7863, allocations: 0 / 1.014 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.7864, allocations: 30.56 kB / 1.014 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.7864, allocations: 4 kB / 1.014 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0002107/0.7866, allocations: 61.53 kB / 1.014 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.7867, allocations: 51.41 kB / 1.014 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.7868, allocations: 97 kB / 1.014 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.7868, allocations: 25.7 kB / 1.014 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.7869, allocations: 92.12 kB / 1.014 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.7869, allocations: 7.812 kB / 1.014 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.7869, allocations: 0 / 1.014 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.787, allocations: 310.8 kB / 1.015 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.7871, allocations: 20 kB / 1.015 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.949e-05/0.7871, allocations: 15.98 kB / 1.015 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.7871, allocations: 8 kB / 1.015 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7871, allocations: 0 / 1.015 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001086/0.7873, allocations: 57.69 kB / 1.015 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7873, allocations: 4 kB / 1.015 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7873, allocations: 3.906 kB / 1.015 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.7873, allocations: 0 / 1.015 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.7875, allocations: 23.92 kB / 1.015 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7875, allocations: 0 / 1.015 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.7876, allocations: 11.98 kB / 1.015 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.7876, allocations: 3.938 kB / 1.015 GB, free: 6.543 MB / 0.6667 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 (abs1.u,abs1.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 8.845e-05/0.7877, allocations: 107.1 kB / 1.015 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.7877, allocations: 7.906 kB / 1.015 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.7878, allocations: 11.98 kB / 1.015 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7878, allocations: 3.938 kB / 1.015 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7878, allocations: 4 kB / 1.015 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7878, allocations: 0 / 1.015 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.788, allocations: 150.1 kB / 1.015 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.788, allocations: 0 / 1.015 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.7881, allocations: 19.98 kB / 1.015 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7881, allocations: 4.188 kB / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.7881, allocations: 3.984 kB / 1.015 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7882, allocations: 0 / 1.015 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7882, allocations: 0 / 1.015 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002016/0.7884, allocations: 159.6 kB / 1.015 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.7885, allocations: 81.11 kB / 1.015 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.7885, allocations: 7.906 kB / 1.015 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.7886, allocations: 15.98 kB / 1.015 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.7887, allocations: 7.984 kB / 1.015 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.7887, allocations: 4 kB / 1.015 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.415e-05/0.7888, allocations: 87.27 kB / 1.015 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002341/0.789, allocations: 8 kB / 1.015 GB, free: 5.793 MB / 0.6667 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 (abs1.u,abs1.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.000171/0.7892, allocations: 105.4 kB / 1.016 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.7893, allocations: 31.98 kB / 1.016 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7893, allocations: 0 / 1.016 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.7894, allocations: 23.94 kB / 1.016 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.7896, allocations: 4 kB / 1.016 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.7899, allocations: 87.62 kB / 1.016 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.7903, allocations: 0.6954 MB / 1.016 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of SimCode: time 3.11e-07/0.7903, allocations: 0 / 1.016 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of Templates: time 0.002906/0.7932, allocations: 0.8026 MB / 1.017 GB, free: 4 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches