Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.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.38/2.38, 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.001339/0.001338, allocations: 189.1 kB / 498.1 MB, free: 5.75 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.647/1.647, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0008988/0.0008986, allocations: 96.33 kB / 0.9346 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 11.41 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3037, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.504, allocations: 150 MB / 1.369 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5044, allocations: 83.95 kB / 1.369 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01299/0.5174, allocations: 4.204 MB / 1.374 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5174, allocations: 3.938 kB / 1.374 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.5174, allocations: 0 / 1.374 GB, free: 15.12 MB / 0.8855 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.0004819/0.5179, allocations: 388.7 kB / 1.374 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.518, allocations: 12.03 kB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.5183, allocations: 59.84 kB / 1.374 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5185, allocations: 175 kB / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5185, allocations: 4 kB / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.5185, allocations: 4 kB / 1.374 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.5188, allocations: 77.64 kB / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5188, allocations: 0 / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5189, allocations: 4 kB / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.5189, allocations: 0 / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.5192, allocations: 87.92 kB / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.5194, allocations: 173.6 kB / 1.374 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.52, allocations: 138.5 kB / 1.375 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.52, allocations: 12.11 kB / 1.375 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.52, allocations: 34.55 kB / 1.375 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 2.645e-06/0.52, allocations: 7.984 kB / 1.375 GB, free: 13.8 MB / 0.8855 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.005224/0.5253, allocations: 1.02 MB / 1.376 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.5253, allocations: 55.41 kB / 1.376 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.5255, allocations: 100.9 kB / 1.376 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5255, allocations: 25.7 kB / 1.376 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.5255, allocations: 96.06 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.5256, allocations: 27.56 kB / 1.376 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.5256, allocations: 0 / 1.376 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5258, allocations: 322.8 kB / 1.376 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.5262, allocations: 131.9 kB / 1.376 GB, free: 12 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.5266, allocations: 127.9 kB / 1.377 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.5271, allocations: 132 kB / 1.377 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5271, allocations: 0 / 1.377 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009625/0.5281, allocations: 309.4 kB / 1.377 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5281, allocations: 8 kB / 1.377 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5281, allocations: 0 / 1.377 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5281, allocations: 0 / 1.377 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.5285, allocations: 75.84 kB / 1.377 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5285, allocations: 0 / 1.377 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.5288, allocations: 47.95 kB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.5289, allocations: 11.98 kB / 1.377 GB, free: 11.29 MB / 0.8855 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 9.917e-05/0.529, allocations: 109.8 kB / 1.377 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.529, allocations: 7.906 kB / 1.377 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.5291, allocations: 12.38 kB / 1.377 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.5291, allocations: 7.984 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5291, allocations: 4 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5291, allocations: 0 / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.531, allocations: 0.6929 MB / 1.378 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.531, allocations: 0 / 1.378 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.5313, allocations: 67.98 kB / 1.378 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5313, allocations: 0 / 1.378 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.5314, allocations: 8.734 kB / 1.378 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.5314, allocations: 7.953 kB / 1.378 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5314, allocations: 0 / 1.378 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5324, allocations: 428.4 kB / 1.378 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.5325, allocations: 84.97 kB / 1.378 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.5325, allocations: 4 kB / 1.378 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.5328, allocations: 47.95 kB / 1.378 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.5329, allocations: 12.11 kB / 1.379 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.5329, allocations: 11.98 kB / 1.379 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.533, allocations: 99.14 kB / 1.379 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.533, allocations: 0 / 1.379 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003354/0.5333, allocations: 43.94 kB / 1.379 GB, free: 9.527 MB / 0.8855 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.0002585/0.5336, allocations: 130.9 kB / 1.379 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009612/0.5346, allocations: 267.7 kB / 1.379 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5346, allocations: 4 kB / 1.379 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.535, allocations: 139.9 kB / 1.379 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.5352, allocations: 4 kB / 1.379 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.537, allocations: 496.2 kB / 1.38 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.5372, allocations: 0.6926 MB / 1.38 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000152/0.5374, allocations: 24.66 kB / 1.38 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.5375, allocations: 27.39 kB / 1.38 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.5375, allocations: 0 / 1.38 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of Templates: time 0.004064/0.5416, allocations: 1.781 MB / 1.382 GB, free: 5.906 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches