Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.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.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic") [: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.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.0009982/0.0009983, allocations: 196.1 kB / 316 MB, free: 3.535 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.073/1.073, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0008355/0.0008356, allocations: 93.14 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.645e-06/7.665e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1586, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.6147, allocations: 132 MB / 1.013 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.615, allocations: 74.23 kB / 1.013 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003584/0.6186, allocations: 0.9557 MB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.6186, allocations: 4 kB / 1.014 GB, free: 5.777 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004974/0.6191, allocations: 381.7 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6192, allocations: 8.031 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.6192, allocations: 11.81 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.6193, allocations: 167 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6194, allocations: 4 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.6194, allocations: 4 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000149/0.6195, allocations: 70.98 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.6197, allocations: 83.72 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6197, allocations: 3.906 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.6197, allocations: 0 / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.6197, allocations: 11.19 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.6204, allocations: 357 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.6205, allocations: 34.02 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.6205, allocations: 15.61 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.6208, allocations: 129.1 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6208, allocations: 38.55 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.6208, allocations: 0 / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002854/0.6211, allocations: 78.86 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.6211, allocations: 51.41 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.6213, allocations: 134.4 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.6213, allocations: 25.7 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.6213, allocations: 119 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.6214, allocations: 11.58 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.6214, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.6215, allocations: 321.8 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/0.6215, allocations: 22.8 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.6216, allocations: 82.58 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.6217, allocations: 58.38 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6217, allocations: 0 / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002463/0.622, allocations: 143.5 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.622, allocations: 4 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.622, allocations: 4 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6221, allocations: 7.906 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.6223, allocations: 48.22 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.6223, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.6224, allocations: 31.81 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.6224, allocations: 8 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.793e-05/0.6225, allocations: 112.8 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.6225, allocations: 7.906 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.6228, allocations: 95.7 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6228, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6228, allocations: 0 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6228, allocations: 144 / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.623, allocations: 161.5 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.623, allocations: 3.984 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.6231, allocations: 27.98 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6231, allocations: 3.938 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.6231, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6231, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6231, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001862/0.6233, allocations: 174 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.6234, allocations: 85.02 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.6234, allocations: 3.906 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6235, allocations: 19.8 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.6236, allocations: 7.984 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.6236, allocations: 8 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.232e-05/0.6236, allocations: 109.7 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002417/0.6239, allocations: 12 kB / 1.018 GB, free: 2.414 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001417/0.624, allocations: 103.2 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.6242, allocations: 56.67 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6242, allocations: 0 / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.6242, allocations: 14.62 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.6244, allocations: 8 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.6247, allocations: 109.5 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.625, allocations: 0.7149 MB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.625, allocations: 0 / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of Templates: time 0.002823/0.6278, allocations: 0.9308 MB / 1.019 GB, free: 488 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Bicubic.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches