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.28/2.28, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001157/0.001157, allocations: 184.9 kB / 492.3 MB, free: 0.6367 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.533/1.533, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009064/0.0009065, allocations: 95.89 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.196e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3317, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.422, allocations: 150.3 MB / 1.359 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.423, allocations: 76.67 kB / 1.359 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01178/1.435, allocations: 3.822 MB / 1.363 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.425e-06/1.435, allocations: 3.844 kB / 1.363 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.276e-06/1.435, allocations: 0 / 1.363 GB, free: 34.59 MB / 0.8386 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.0004374/1.435, allocations: 380.7 kB / 1.363 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.435, allocations: 7.844 kB / 1.363 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/1.436, allocations: 69.33 kB / 1.363 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.436, allocations: 167.9 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/1.436, allocations: 3.812 kB / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/1.436, allocations: 0 / 1.364 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.436, allocations: 52.55 kB / 1.364 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/1.436, allocations: 4 kB / 1.364 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.436, allocations: 3.984 kB / 1.364 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.436, allocations: 3.844 kB / 1.364 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/1.436, allocations: 26.86 kB / 1.364 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/1.436, allocations: 290.2 kB / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/1.436, allocations: 45.58 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/1.437, allocations: 14.11 kB / 1.364 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/1.437, allocations: 6.812 kB / 1.364 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/1.437, allocations: 34.5 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.437, allocations: 0 / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/1.437, allocations: 54.73 kB / 1.364 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/1.437, allocations: 51.41 kB / 1.364 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/1.437, allocations: 104.8 kB / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.437, allocations: 28.39 kB / 1.364 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/1.437, allocations: 81.36 kB / 1.364 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/1.437, allocations: 6.969 kB / 1.364 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/1.437, allocations: 0 / 1.364 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.545e-05/1.437, allocations: 316.3 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/1.437, allocations: 7.688 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/1.437, allocations: 19.73 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/1.437, allocations: 11.88 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.437, allocations: 0 / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.581e-05/1.437, allocations: 62.86 kB / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.437, allocations: 3.875 kB / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.437, allocations: 0 / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.437, allocations: 0 / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/1.438, allocations: 31.02 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.438, allocations: 0 / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/1.438, allocations: 21.59 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/1.438, allocations: 9.266 kB / 1.365 GB, free: 32.93 MB / 0.8386 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 (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 5.525e-05/1.438, allocations: 106.6 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.438, allocations: 4 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/1.438, allocations: 8.719 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/1.438, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.438, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.438, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/1.438, allocations: 174.6 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.438, allocations: 0 / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/1.438, allocations: 30.56 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.438, allocations: 0 / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.438, allocations: 7.75 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.438, allocations: 0.9844 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.438, allocations: 0 / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/1.438, allocations: 149.5 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/1.438, allocations: 86.64 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/1.438, allocations: 4.281 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/1.438, allocations: 28.81 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/1.439, allocations: 1.641 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/1.439, allocations: 5.625 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.646e-05/1.439, allocations: 79.12 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.439, allocations: 7.938 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002163/1.439, allocations: 14.41 kB / 1.366 GB, free: 32.29 MB / 0.8386 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 () * 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.000172/1.439, allocations: 109.8 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001166/1.439, allocations: 35.12 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.439, allocations: 3.938 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.811e-05/1.439, allocations: 14.12 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/1.439, allocations: 10.25 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/1.44, allocations: 102.5 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/1.44, allocations: 0.681 MB / 1.366 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.009e-05/1.44, allocations: 13.17 kB / 1.366 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/1.44, allocations: 7.438 kB / 1.366 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.44, allocations: 0 / 1.366 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.002751/1.443, allocations: 0.7236 MB / 1.367 GB, free: 31.33 MB / 0.8386 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