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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 249.3 MB / 261.9 MB, free: 5.922 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.001051/0.00105, allocations: 186.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001197/0.001197, allocations: 86.58 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.772e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2252, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8049/1.03, allocations: 133.2 MB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/1.03, allocations: 82.75 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01614/1.047, allocations: 5.456 MB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.793e-06/1.047, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.047, allocations: 4 kB / 1.027 GB, free: 12.86 MB / 0.6511 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.0005235/1.047, allocations: 393.2 kB / 1.028 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.047, allocations: 11.97 kB / 1.028 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/1.048, allocations: 71.83 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.048, allocations: 175 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/1.048, allocations: 2.188 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/1.048, allocations: 10.81 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/1.048, allocations: 75.59 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.048, allocations: 0 / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.048, allocations: 7.625 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/1.048, allocations: 0 / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.918e-05/1.048, allocations: 42.67 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/1.049, allocations: 346.4 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/1.049, allocations: 68.81 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/1.049, allocations: 30.42 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/1.049, allocations: 3.984 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/1.049, allocations: 30.56 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/1.049, allocations: 4 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.01278/1.062, allocations: 2.103 MB / 1.031 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.062, allocations: 55.41 kB / 1.031 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/1.062, allocations: 92.44 kB / 1.031 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/1.062, allocations: 25.7 kB / 1.031 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/1.062, allocations: 99.77 kB / 1.031 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/1.062, allocations: 35.08 kB / 1.031 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/1.062, allocations: 3.438 kB / 1.031 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.062, allocations: 314.8 kB / 1.031 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/1.063, allocations: 119.1 kB / 1.031 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/1.063, allocations: 114.4 kB / 1.031 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/1.063, allocations: 122 kB / 1.031 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/1.063, allocations: 0 / 1.031 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006976/1.064, allocations: 322.3 kB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.064, allocations: 13.67 kB / 1.032 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.064, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.064, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/1.065, allocations: 123.8 kB / 1.032 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.065, allocations: 0 / 1.032 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/1.065, allocations: 55.94 kB / 1.032 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/1.065, allocations: 27.81 kB / 1.032 GB, free: 8.203 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.0001476/1.066, allocations: 108.5 kB / 1.032 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/1.066, allocations: 8 kB / 1.032 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/1.066, allocations: 18.42 kB / 1.032 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.066, allocations: 7.984 kB / 1.032 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.066, allocations: 4 kB / 1.032 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.066, allocations: 0 / 1.032 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/1.067, allocations: 0.9055 MB / 1.033 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.067, allocations: 0 / 1.033 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/1.068, allocations: 122.4 kB / 1.033 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.068, allocations: 7.984 kB / 1.033 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/1.068, allocations: 19.94 kB / 1.033 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/1.068, allocations: 0 / 1.033 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.068, allocations: 0 / 1.033 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/1.069, allocations: 0.5749 MB / 1.034 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/1.069, allocations: 119.9 kB / 1.034 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/1.069, allocations: 0 / 1.034 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/1.07, allocations: 63.98 kB / 1.034 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/1.07, allocations: 23.62 kB / 1.034 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/1.07, allocations: 27.92 kB / 1.034 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.347e-05/1.07, allocations: 83.22 kB / 1.034 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.07, allocations: 0 / 1.034 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003685/1.071, allocations: 63.44 kB / 1.034 GB, free: 6.188 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.0002794/1.071, allocations: 119.1 kB / 1.034 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005872/1.071, allocations: 263.2 kB / 1.034 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.071, allocations: 3.938 kB / 1.034 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/1.072, allocations: 144.4 kB / 1.035 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/1.072, allocations: 4 kB / 1.035 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/1.076, allocations: 0.6972 MB / 1.035 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/1.076, allocations: 0.6926 MB / 1.036 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006448/1.077, allocations: 96.66 kB / 1.036 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/1.077, allocations: 51.31 kB / 1.036 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of SimCode: time 5.21e-07/1.077, allocations: 3.938 kB / 1.036 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of Templates: time 0.005954/1.083, allocations: 3.231 MB / 1.039 GB, free: 1.008 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