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.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 175.8 kB / 326.5 MB, free: 2.281 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.565/1.565, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0007696/0.0007696, allocations: 84.72 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 9.156 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2012, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.3661, allocations: 132.5 MB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.3664, allocations: 83.94 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01251/0.3789, allocations: 4.148 MB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3789, allocations: 3.938 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.379, allocations: 4 kB / 1.034 GB, free: 7.102 MB / 0.6823 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.000428/0.3794, allocations: 386.6 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3794, allocations: 8.031 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.3798, allocations: 59.84 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3799, allocations: 171 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3799, allocations: 15.97 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.38, allocations: 4 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.3802, allocations: 73.64 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3803, allocations: 0 / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3803, allocations: 4 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3803, allocations: 4 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.3807, allocations: 87.86 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3809, allocations: 173.5 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.3814, allocations: 150.5 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3814, allocations: 0 / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3814, allocations: 30.56 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3815, allocations: 4 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.005059/0.3865, allocations: 1.024 MB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3866, allocations: 55.39 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.3867, allocations: 101 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3867, allocations: 29.7 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.3867, allocations: 84.12 kB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.3868, allocations: 31.55 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.3868, allocations: 4 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3869, allocations: 326.8 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.3874, allocations: 119.9 kB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.3878, allocations: 131.9 kB / 1.037 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.3882, allocations: 136 kB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3882, allocations: 0 / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009292/0.3892, allocations: 313.3 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3892, allocations: 4 kB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3892, allocations: 3.938 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3892, allocations: 0 / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.3896, allocations: 71.91 kB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.3896, allocations: 4 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.3899, allocations: 47.95 kB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.3899, allocations: 7.984 kB / 1.037 GB, free: 3.281 MB / 0.6823 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 () * Number of clocked 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 0.0001004/0.39, allocations: 117.8 kB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.3901, allocations: 0 / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.3901, allocations: 12.38 kB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3901, allocations: 4 kB / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3902, allocations: 0 / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3902, allocations: 3.984 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.392, allocations: 0.6969 MB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3921, allocations: 0 / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3924, allocations: 67.98 kB / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3924, allocations: 7.938 kB / 1.038 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3924, allocations: 7.984 kB / 1.038 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3924, allocations: 4 kB / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3925, allocations: 4.031 kB / 1.038 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009606/0.3934, allocations: 428.3 kB / 1.038 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.3935, allocations: 85.09 kB / 1.039 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.3935, allocations: 3.953 kB / 1.039 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.3938, allocations: 51.95 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.3939, allocations: 7.984 kB / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3939, allocations: 12.11 kB / 1.039 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.3939, allocations: 91.27 kB / 1.039 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.394, allocations: 7.938 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002915/0.3942, allocations: 39.94 kB / 1.039 GB, free: 1.52 MB / 0.6823 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 () * Number of clocked 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.0002169/0.3945, allocations: 119.2 kB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009154/0.3954, allocations: 267.7 kB / 1.039 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3954, allocations: 4 kB / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.3959, allocations: 139.9 kB / 1.039 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.396, allocations: 8 kB / 1.039 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3978, allocations: 0.4885 MB / 1.04 GB, free: 464 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.3981, allocations: 0.6887 MB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.3982, allocations: 24.66 kB / 1.04 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.944e-05/0.3983, allocations: 27.39 kB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.914e-06/0.3983, allocations: 0 / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of Templates: time 0.004214/0.4026, allocations: 1.79 MB / 1.042 GB, free: 13.9 MB / 0.698 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