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.54/1.54, allocations: 249.3 MB / 261.8 MB, free: 5.84 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.001512/0.001512, allocations: 170.6 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.975, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009807/0.0009806, allocations: 88.94 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.74e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2253, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8284/1.054, allocations: 132.4 MB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.054, allocations: 77.52 kB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01266/1.067, allocations: 4.123 MB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.352e-06/1.067, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.067, allocations: 0 / 1.025 GB, free: 14.76 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004054/1.067, allocations: 383.7 kB / 1.026 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.067, allocations: 12.03 kB / 1.026 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/1.068, allocations: 59.84 kB / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/1.068, allocations: 167 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/1.068, allocations: 7.984 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/1.068, allocations: 4 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/1.068, allocations: 49.8 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.068, allocations: 0 / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.068, allocations: 4 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.068, allocations: 0 / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/1.068, allocations: 27.42 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/1.068, allocations: 183.3 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/1.068, allocations: 52.81 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/1.068, allocations: 19.3 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/1.068, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/1.068, allocations: 30.56 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/1.068, allocations: 3.938 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.003053/1.072, allocations: 446.5 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/1.072, allocations: 51.41 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.072, allocations: 100.6 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.072, allocations: 28.83 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/1.072, allocations: 90.81 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/1.072, allocations: 26.69 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/1.072, allocations: 0 / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.072, allocations: 325.3 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/1.072, allocations: 42.48 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/1.072, allocations: 38.73 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/1.072, allocations: 38.73 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/1.072, allocations: 0 / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002679/1.073, allocations: 127 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.073, allocations: 9.703 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.073, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/1.073, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/1.073, allocations: 71.86 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.073, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/1.073, allocations: 47.2 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/1.073, allocations: 11.98 kB / 1.028 GB, free: 12.29 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 8.709e-05/1.073, allocations: 108.6 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/1.073, allocations: 7.906 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/1.074, allocations: 12.25 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.074, allocations: 4 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.074, allocations: 0 / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.074, allocations: 3.984 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/1.075, allocations: 0.5202 MB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.075, allocations: 4 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/1.075, allocations: 71.17 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/1.075, allocations: 4 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.075, allocations: 7.984 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.075, allocations: 384 / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.075, allocations: 7.953 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/1.076, allocations: 246.7 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/1.076, allocations: 92.53 kB / 1.029 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/1.076, allocations: 4 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/1.076, allocations: 47.95 kB / 1.029 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/1.076, allocations: 7.984 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/1.076, allocations: 11.55 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.245e-05/1.076, allocations: 95.06 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.605e-06/1.076, allocations: 0 / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004119/1.077, allocations: 43.88 kB / 1.029 GB, free: 10.95 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.0002458/1.077, allocations: 130.3 kB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002395/1.077, allocations: 90.64 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.077, allocations: 0 / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/1.077, allocations: 46.91 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/1.077, allocations: 7.812 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/1.079, allocations: 354 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/1.079, allocations: 0.6926 MB / 1.03 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001661/1.079, allocations: 32.88 kB / 1.03 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/1.08, allocations: 26.78 kB / 1.03 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of SimCode: time 2.995e-06/1.08, allocations: 0 / 1.03 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of Templates: time 0.004875/1.085, allocations: 1.77 MB / 1.032 GB, free: 7.805 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