Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.5 MB / 257 MB, free: 6.883 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.0009395/0.0009394, allocations: 184.9 kB / 316.3 MB, free: 3.285 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.863/1.863, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.001043/0.001043, allocations: 86.42 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.183e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2587, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8716/1.13, allocations: 132.7 MB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.131, allocations: 78.39 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01302/1.144, allocations: 4.107 MB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.675e-06/1.144, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.144, allocations: 0 / 1.019 GB, free: 1.648 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000581/1.144, allocations: 381.9 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/1.145, allocations: 11.97 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/1.145, allocations: 63.84 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/1.145, allocations: 174.5 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/1.145, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/1.145, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001021/1.145, allocations: 19.67 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/1.145, allocations: 45.86 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.145, allocations: 0 / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/1.145, allocations: 0 / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.146, allocations: 11.94 kB / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/1.146, allocations: 153.6 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/1.146, allocations: 49.56 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/1.146, allocations: 16.42 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/1.146, allocations: 0 / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.146, allocations: 34.5 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/1.146, allocations: 4 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.002602/1.149, allocations: 465.1 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.149, allocations: 55.41 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.149, allocations: 99.86 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/1.149, allocations: 29.7 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/1.149, allocations: 91.64 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/1.149, allocations: 27.25 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/1.149, allocations: 0 / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.149, allocations: 318.8 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/1.149, allocations: 41.86 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/1.149, allocations: 38.86 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/1.15, allocations: 50.33 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/1.15, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003332/1.15, allocations: 154.7 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.15, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.15, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.15, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/1.15, allocations: 71.36 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.15, allocations: 4.781 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/1.151, allocations: 43.95 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/1.151, allocations: 11.97 kB / 1.021 GB, free: 15.16 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 (9): * Single equations (assignments): 9 * 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 9.171e-05/1.151, allocations: 105.3 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/1.151, allocations: 7.906 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/1.151, allocations: 8.312 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.151, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.151, allocations: 7.938 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.151, allocations: 3.984 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/1.152, allocations: 0.5132 MB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.152, allocations: 0 / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/1.152, allocations: 67.98 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.152, allocations: 4 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/1.152, allocations: 3.984 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.152, allocations: 0 / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.152, allocations: 4.391 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/1.153, allocations: 266.4 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/1.153, allocations: 85.38 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/1.153, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/1.153, allocations: 51.91 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/1.153, allocations: 7.984 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/1.153, allocations: 7.984 kB / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.134e-05/1.153, allocations: 90.58 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/1.153, allocations: 7.938 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002933/1.154, allocations: 39.92 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000252/1.154, allocations: 123.2 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002058/1.154, allocations: 87.39 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.154, allocations: 0 / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/1.154, allocations: 45.59 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/1.154, allocations: 4 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/1.156, allocations: 354.9 kB / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.156, allocations: 0.6891 MB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001456/1.156, allocations: 28.88 kB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/1.156, allocations: 26.78 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/1.156, allocations: 0 / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of Templates: time 0.004184/1.161, allocations: 1.697 MB / 1.025 GB, free: 10.78 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches