Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.474/2.474, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 188.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008415, allocations: 95.75 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.318e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.321, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9644/1.285, allocations: 151.5 MB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.286, allocations: 86.44 kB / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01705/1.303, allocations: 5.518 MB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/1.303, allocations: 0 / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.303, allocations: 4 kB / 1.372 GB, free: 13.74 MB / 0.8386 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.0005313/1.303, allocations: 390.6 kB / 1.373 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.303, allocations: 12.03 kB / 1.373 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/1.304, allocations: 67.72 kB / 1.373 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/1.304, allocations: 171 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/1.304, allocations: 4 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/1.304, allocations: 7.312 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.304, allocations: 84.03 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.304, allocations: 0 / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.304, allocations: 0 / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.304, allocations: 4 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/1.304, allocations: 39.61 kB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/1.305, allocations: 341.4 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/1.305, allocations: 81.92 kB / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/1.305, allocations: 27.61 kB / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/1.305, allocations: 0 / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.305, allocations: 41.95 kB / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/1.305, allocations: 0 / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.01317/1.318, allocations: 2.108 MB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.319, allocations: 51.41 kB / 1.376 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/1.319, allocations: 96.61 kB / 1.376 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/1.319, allocations: 29.7 kB / 1.376 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/1.319, allocations: 87.55 kB / 1.376 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/1.319, allocations: 34.89 kB / 1.376 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/1.319, allocations: 3.688 kB / 1.376 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/1.319, allocations: 322.4 kB / 1.376 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/1.319, allocations: 116.8 kB / 1.376 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/1.319, allocations: 111.6 kB / 1.376 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/1.32, allocations: 122.3 kB / 1.376 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/1.32, allocations: 0 / 1.376 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006851/1.32, allocations: 326.1 kB / 1.377 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.32, allocations: 8 kB / 1.377 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.32, allocations: 0 / 1.377 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.32, allocations: 0 / 1.377 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/1.321, allocations: 119.8 kB / 1.377 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.321, allocations: 0 / 1.377 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/1.322, allocations: 66.94 kB / 1.377 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/1.322, allocations: 23.94 kB / 1.377 GB, free: 9.086 MB / 0.8386 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.000129/1.322, allocations: 112.2 kB / 1.377 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/1.322, allocations: 7.859 kB / 1.377 GB, free: 8.965 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/1.322, allocations: 15.22 kB / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.322, allocations: 0 / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.322, allocations: 0 / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.322, allocations: 3.984 kB / 1.377 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/1.324, allocations: 0.8975 MB / 1.378 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.324, allocations: 0 / 1.378 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/1.325, allocations: 115.8 kB / 1.378 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.325, allocations: 4 kB / 1.378 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/1.325, allocations: 19.94 kB / 1.378 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.325, allocations: 4 kB / 1.378 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.325, allocations: 0 / 1.378 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/1.326, allocations: 0.572 MB / 1.379 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/1.326, allocations: 120.3 kB / 1.379 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/1.326, allocations: 0 / 1.379 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/1.327, allocations: 58.69 kB / 1.379 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/1.327, allocations: 31.92 kB / 1.379 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/1.327, allocations: 30.11 kB / 1.379 GB, free: 7.223 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.845e-05/1.327, allocations: 75.38 kB / 1.379 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.327, allocations: 3.938 kB / 1.379 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000386/1.327, allocations: 63.75 kB / 1.379 GB, free: 7.086 MB / 0.8386 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.0002304/1.327, allocations: 115.1 kB / 1.379 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005816/1.328, allocations: 265.9 kB / 1.379 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.328, allocations: 0 / 1.379 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/1.328, allocations: 155 kB / 1.38 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/1.329, allocations: 12.62 kB / 1.38 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/1.332, allocations: 0.7012 MB / 1.38 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/1.332, allocations: 0.6926 MB / 1.381 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006532/1.333, allocations: 88.66 kB / 1.381 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/1.333, allocations: 51.31 kB / 1.381 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.333, allocations: 0 / 1.381 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of Templates: time 0.006137/1.34, allocations: 3.233 MB / 1.384 GB, free: 1.902 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches