Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001134/0.001134, allocations: 183.5 kB / 326.5 MB, free: 2.25 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.773/1.773, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.000987/0.000987, allocations: 94 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 10.03 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 106.3 MB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.395, allocations: 132.9 MB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.3954, allocations: 79.95 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.4069, allocations: 3.801 MB / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.133e-06/0.407, allocations: 0 / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.407, allocations: 0 / 1.034 GB, free: 7.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004436/0.4074, allocations: 395.1 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4075, allocations: 8.031 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.4079, allocations: 63.92 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.408, allocations: 170.9 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.408, allocations: 4 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.408, allocations: 0 / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.4083, allocations: 101.6 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4084, allocations: 0 / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4084, allocations: 0 / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.4084, allocations: 0 / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.4088, allocations: 119.9 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.4093, allocations: 292.8 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.4096, allocations: 110.4 kB / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4097, allocations: 8.047 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4097, allocations: 42.56 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.236e-06/0.4097, allocations: 0 / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0006858/0.4104, allocations: 197.6 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.4104, allocations: 51.41 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.4105, allocations: 101 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.4105, allocations: 29.7 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.4106, allocations: 88.08 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.4106, allocations: 3.906 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.4106, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4107, allocations: 320.5 kB / 1.036 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.411, allocations: 63.89 kB / 1.036 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.4111, allocations: 59.95 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.4113, allocations: 52.02 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4114, allocations: 4 kB / 1.036 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004112/0.4118, allocations: 145.6 kB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4118, allocations: 4 kB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4118, allocations: 0 / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4118, allocations: 0 / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.412, allocations: 28 kB / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.412, allocations: 4 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.4121, allocations: 23.89 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4121, allocations: 3.984 kB / 1.036 GB, free: 4.887 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 (2): * Single equations (assignments): 2 * 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 7.694e-05/0.4122, allocations: 117.8 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.4122, allocations: 4 kB / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.4123, allocations: 7.062 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4123, allocations: 4 kB / 1.036 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4123, allocations: 0 / 1.036 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4123, allocations: 0 / 1.036 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.4125, allocations: 177.6 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4125, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.4127, allocations: 31.97 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4127, allocations: 0 / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4127, allocations: 0 / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4127, allocations: 0 / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4127, allocations: 3.984 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.4132, allocations: 247.4 kB / 1.037 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.4133, allocations: 81.05 kB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4133, allocations: 0 / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.4134, allocations: 28 kB / 1.037 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.4135, allocations: 4 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.4135, allocations: 4 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.4135, allocations: 91.45 kB / 1.037 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4135, allocations: 0 / 1.037 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000225/0.4138, allocations: 19.91 kB / 1.037 GB, free: 3.988 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001685/0.414, allocations: 107.2 kB / 1.037 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.4144, allocations: 123.9 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4144, allocations: 0 / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.4146, allocations: 60.02 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.4148, allocations: 11.89 kB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.4154, allocations: 173 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.4157, allocations: 0.6848 MB / 1.038 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.188e-05/0.4157, allocations: 8 kB / 1.038 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.4158, allocations: 15.42 kB / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.4158, allocations: 0 / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.002653/0.4185, allocations: 0.7026 MB / 1.039 GB, free: 2.055 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches