Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001139/0.001139, allocations: 169.7 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009151/0.0009151, allocations: 105.9 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 10.22 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3271, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.5209, allocations: 150.4 MB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.5212, allocations: 79.95 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.5325, allocations: 3.852 MB / 1.374 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5326, allocations: 0 / 1.374 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.5326, allocations: 0 / 1.374 GB, free: 7.723 MB / 0.8698 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.0004854/0.5331, allocations: 387.1 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5331, allocations: 16.02 kB / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.5335, allocations: 59.94 kB / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.5336, allocations: 163 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.5337, allocations: 0 / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.5337, allocations: 7.938 kB / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.534, allocations: 97.62 kB / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.534, allocations: 0 / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.5341, allocations: 3.984 kB / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5341, allocations: 7.938 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.5345, allocations: 107.9 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.535, allocations: 300.8 kB / 1.375 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.5354, allocations: 106.5 kB / 1.375 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.5354, allocations: 64 / 1.375 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.5354, allocations: 38.56 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5354, allocations: 3.938 kB / 1.375 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0007293/0.5362, allocations: 201.6 kB / 1.375 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5362, allocations: 56.2 kB / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.5363, allocations: 101 kB / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.5363, allocations: 29.64 kB / 1.375 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.5364, allocations: 88.12 kB / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.5364, allocations: 11.84 kB / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.5364, allocations: 0 / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5365, allocations: 310.8 kB / 1.376 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.5367, allocations: 55.95 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.5369, allocations: 59.95 kB / 1.376 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.5371, allocations: 52.02 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5371, allocations: 0 / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004262/0.5376, allocations: 157.5 kB / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5376, allocations: 4.938 kB / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5376, allocations: 0 / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5376, allocations: 0 / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.5378, allocations: 32 kB / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5378, allocations: 0 / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.5379, allocations: 27.92 kB / 1.376 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.538, allocations: 0 / 1.376 GB, free: 5.078 MB / 0.8698 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 8.552e-05/0.5381, allocations: 113.8 kB / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.5381, allocations: 4 kB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.5381, allocations: 7.062 kB / 1.376 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5381, allocations: 0 / 1.376 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5381, allocations: 4 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5382, allocations: 3.984 kB / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.5383, allocations: 173.5 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5383, allocations: 0 / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.5385, allocations: 27.97 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5385, allocations: 4 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5385, allocations: 3.938 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5385, allocations: 0 / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5385, allocations: 0 / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.5391, allocations: 243.4 kB / 1.377 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.5391, allocations: 81.11 kB / 1.377 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.5391, allocations: 3.984 kB / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.5393, allocations: 24.02 kB / 1.377 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.5394, allocations: 7.969 kB / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.5394, allocations: 4 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.5394, allocations: 79.53 kB / 1.377 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5394, allocations: 4 kB / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002274/0.5396, allocations: 12 kB / 1.377 GB, free: 4.199 MB / 0.8698 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.000178/0.5398, allocations: 122.9 kB / 1.377 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.5403, allocations: 123.8 kB / 1.377 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5403, allocations: 0 / 1.377 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.5405, allocations: 67.94 kB / 1.377 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.5407, allocations: 3.953 kB / 1.377 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.5413, allocations: 180.9 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.5415, allocations: 0.677 MB / 1.378 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.165e-05/0.5416, allocations: 8 kB / 1.378 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.5417, allocations: 7.438 kB / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/0.5417, allocations: 8 kB / 1.378 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of Templates: time 0.002753/0.5444, allocations: 0.7093 MB / 1.379 GB, free: 2.238 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches