Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [: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.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.001111/0.001111, allocations: 185.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.07/1.07, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008503/0.0008501, allocations: 90.52 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.805e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1377, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5626, allocations: 133.5 MB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.5628, allocations: 88.62 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01564/0.5785, allocations: 5.121 MB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5785, allocations: 0 / 1.02 GB, free: 0.9258 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.0004723/0.579, allocations: 401.1 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.579, allocations: 8.031 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004041/0.5794, allocations: 79.77 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.5796, allocations: 174.9 kB / 1.021 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.5796, allocations: 4 kB / 1.021 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.5797, allocations: 7.906 kB / 1.021 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.5798, allocations: 40.98 kB / 1.021 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.5799, allocations: 64.59 kB / 1.021 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.58, allocations: 0 / 1.021 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.58, allocations: 0 / 1.021 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.58, allocations: 4 kB / 1.021 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.5806, allocations: 316.2 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.5807, allocations: 47.83 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.5808, allocations: 19.11 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.5808, allocations: 4 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.5808, allocations: 34.56 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.614e-06/0.5808, allocations: 0 / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.01411/0.5949, allocations: 2.187 MB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.595, allocations: 55.41 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.5951, allocations: 89 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.5951, allocations: 29.69 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.5951, allocations: 91.23 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.5952, allocations: 38.33 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.5953, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.5954, allocations: 318.6 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.5956, allocations: 112.8 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.5958, allocations: 108.7 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.5961, allocations: 136.9 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5961, allocations: 0 / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007568/0.5969, allocations: 341.8 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5969, allocations: 8 kB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5969, allocations: 0 / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.597, allocations: 0 / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.5979, allocations: 123.7 kB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.5979, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.5986, allocations: 63.94 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.5987, allocations: 27.92 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001297/0.5988, allocations: 108.9 kB / 1.025 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.5989, allocations: 7.906 kB / 1.025 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.5989, allocations: 7.5 kB / 1.025 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5989, allocations: 8.031 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5989, allocations: 7.844 kB / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5989, allocations: 0 / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.6004, allocations: 0.8785 MB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6004, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009259/0.6013, allocations: 127 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.6013, allocations: 3.906 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.6014, allocations: 23.92 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6014, allocations: 7.938 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6014, allocations: 4 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001115/0.6025, allocations: 0.5699 MB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.6027, allocations: 123.3 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.6028, allocations: 4 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.6036, allocations: 64 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.6037, allocations: 27.92 kB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.6038, allocations: 19.94 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.448e-05/0.6038, allocations: 82.34 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003719/0.6042, allocations: 59.92 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002266/0.6044, allocations: 115.2 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.605, allocations: 259.3 kB / 1.027 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.605, allocations: 0 / 1.027 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.6053, allocations: 155.9 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.6055, allocations: 4 kB / 1.027 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.6097, allocations: 0.8011 MB / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/0.6103, allocations: 0.8195 MB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.6104, allocations: 3.938 kB / 1.029 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of Templates: time 0.007775/0.6181, allocations: 5.771 MB / 1.035 GB, free: 2.395 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches