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.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [: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.082 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.001085/0.001085, allocations: 173.2 kB / 316 MB, free: 3.582 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.5/1.5, allocations: 205.1 MB / 0.5667 GB, free: 15.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.0008756/0.0008756, allocations: 90.14 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.384e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2149, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6676/0.8826, allocations: 132 MB / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.8828, allocations: 70.52 kB / 1.014 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004533/0.8874, allocations: 1.186 MB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.8874, allocations: 4 kB / 1.015 GB, free: 5.809 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.0005603/0.888, allocations: 393.4 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.888, allocations: 12.03 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.8881, allocations: 7.906 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.8882, allocations: 180.4 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.8883, allocations: 8 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.8883, allocations: 4 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/0.8884, allocations: 44.92 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.8886, allocations: 72.41 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8886, allocations: 3.938 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.8886, allocations: 4 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.8886, allocations: 1.938 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.8891, allocations: 317.1 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.8896, allocations: 91.97 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.8897, allocations: 30.05 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.8897, allocations: 4.141 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.8897, allocations: 38.55 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.8897, allocations: 0 / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002406/0.89, allocations: 83.28 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.89, allocations: 51.41 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.8901, allocations: 112 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.8902, allocations: 25.7 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.8902, allocations: 95.97 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.8903, allocations: 18.91 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.8903, allocations: 0.75 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.8904, allocations: 326.7 kB / 1.017 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.8905, allocations: 18.81 kB / 1.017 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/0.8905, allocations: 14.44 kB / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.8906, allocations: 29.36 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8906, allocations: 0 / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001634/0.8908, allocations: 79.16 kB / 1.017 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.8908, allocations: 10.48 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.8908, allocations: 3.938 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.8908, allocations: 4 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.891, allocations: 35.41 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.891, allocations: 3.938 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.8912, allocations: 27.89 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.8912, allocations: 0 / 1.017 GB, free: 3.676 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 (add1.u1,add1.u2,add1.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 7.707e-05/0.8913, allocations: 105 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.8913, allocations: 3.906 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.8914, allocations: 19.36 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8914, allocations: 0 / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.8914, allocations: 0 / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.8914, allocations: 4 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.8916, allocations: 177 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.8916, allocations: 7.984 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.8918, allocations: 27.97 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8918, allocations: 3.984 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.8918, allocations: 12 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8918, allocations: 0 / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8918, allocations: 0 / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001926/0.892, allocations: 183.4 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.8921, allocations: 85.02 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.8921, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.8923, allocations: 23.97 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.8924, allocations: 19.61 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.8924, allocations: 3.984 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.967e-05/0.8925, allocations: 97.41 kB / 1.018 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00023/0.8927, allocations: 12 kB / 1.018 GB, free: 2.875 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 (add1.u1,add1.u2,add1.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.0001948/0.8929, allocations: 122.2 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.8931, allocations: 57.86 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.8931, allocations: 0 / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.8932, allocations: 38.62 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.8934, allocations: 10.33 kB / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.8937, allocations: 119.5 kB / 1.018 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.8941, allocations: 0.7114 MB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.8941, allocations: 0 / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of Templates: time 0.003526/0.8977, allocations: 1.402 MB / 1.02 GB, free: 440 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches