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.737/1.737, allocations: 249.5 MB / 257 MB, free: 6.957 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.001131/0.001131, allocations: 180.9 kB / 316.3 MB, free: 3.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.695/1.695, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009722/0.000972, allocations: 87.67 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.918e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2751, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8417/1.117, allocations: 133.1 MB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.117, allocations: 76.89 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01197/1.129, allocations: 3.765 MB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.129, allocations: 4 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.129, allocations: 0 / 1.019 GB, free: 1.516 MB / 0.6355 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.0004559/1.13, allocations: 377.7 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.13, allocations: 8.031 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003855/1.13, allocations: 63.94 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/1.13, allocations: 175 kB / 1.02 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/1.13, allocations: 3.562 kB / 1.02 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/1.13, allocations: 0 / 1.02 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.383e-05/1.131, allocations: 17.81 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/1.131, allocations: 47.86 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/1.131, allocations: 4 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/1.131, allocations: 0 / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.131, allocations: 0 / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/1.131, allocations: 271.2 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/1.131, allocations: 44.31 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/1.131, allocations: 16.05 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/1.131, allocations: 3.938 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.131, allocations: 45 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.131, allocations: 0 / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002987/1.132, allocations: 64.61 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.132, allocations: 54.72 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/1.132, allocations: 92.98 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.132, allocations: 25.7 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/1.132, allocations: 87.05 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/1.132, allocations: 11.84 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/1.132, allocations: 0 / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.132, allocations: 318 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/1.132, allocations: 13.12 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/1.132, allocations: 14.92 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/1.132, allocations: 26.42 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.132, allocations: 4.062 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001787/1.133, allocations: 68.78 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.133, allocations: 4 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.133, allocations: 4.25 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.133, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/1.133, allocations: 32 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/1.133, allocations: 0 / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/1.133, allocations: 19.98 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/1.133, allocations: 11.97 kB / 1.021 GB, free: 15.52 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 (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.549e-05/1.133, allocations: 104.9 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/1.133, allocations: 7.906 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/1.133, allocations: 19.5 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/1.133, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.133, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.133, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/1.133, allocations: 157.2 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.133, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/1.133, allocations: 35.91 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.133, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/1.133, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.133, allocations: 3.938 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.133, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/1.134, allocations: 170.3 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/1.134, allocations: 81.09 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/1.134, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/1.134, allocations: 19.98 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/1.134, allocations: 7.984 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/1.134, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.63e-05/1.134, allocations: 86.56 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.134, allocations: 3.938 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002308/1.134, allocations: 16 kB / 1.021 GB, free: 14.76 MB / 0.6511 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.0001959/1.135, allocations: 111.2 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001437/1.135, allocations: 30.62 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.135, allocations: 0 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/1.135, allocations: 11.69 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/1.135, allocations: 14.69 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/1.135, allocations: 94.11 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.136, allocations: 0.6768 MB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.978e-05/1.136, allocations: 12 kB / 1.022 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/1.136, allocations: 11.44 kB / 1.022 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.136, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of Templates: time 0.002664/1.138, allocations: 0.6749 MB / 1.023 GB, free: 13.11 MB / 0.6511 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