Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 114.2 kB / 18.94 MB, free: 2.785 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 193.8 kB / 22.23 MB, free: 5.227 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized")
translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 69.84 kB / 1.138 GB, free: 33.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3759, allocations: 173.6 MB / 1.307 GB, free: 1.758 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002843/0.3788, allocations: 0.6451 MB / 1.308 GB, free: 1.113 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.003621/0.3824, allocations: 1.462 MB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.3824, allocations: 8 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.3825, allocations: 3.938 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.918e-05/0.3825, allocations: 3.984 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.3833, allocations: 122.5 kB / 1.31 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.3834, allocations: 43.8 kB / 1.31 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.3834, allocations: 4 kB / 1.31 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.3835, allocations: 15.92 kB / 1.31 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.3836, allocations: 15.92 kB / 1.31 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.3836, allocations: 4 kB / 1.31 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008885/0.3845, allocations: 319.4 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.3845, allocations: 3.984 kB / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.3846, allocations: 23.8 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005964/0.3852, allocations: 191.5 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3852, allocations: 0 / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.044e-06/0.3852, allocations: 0 / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.492e-05/0.3852, allocations: 4 kB / 1.31 GB, free: 14.89 MB / 1.014 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.0007507/0.3859, allocations: 301.8 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.386, allocations: 8.031 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006879/0.3867, allocations: 64.81 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3869, allocations: 114.5 kB / 1.311 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3869, allocations: 4.375 kB / 1.311 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3869, allocations: 4.312 kB / 1.311 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.3874, allocations: 85.94 kB / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3875, allocations: 3.953 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3875, allocations: 0 / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3875, allocations: 3.938 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.3882, allocations: 75.91 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3885, allocations: 140.8 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.3896, allocations: 122.5 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.3899, allocations: 40.94 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.39, allocations: 4 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.39, allocations: 34.5 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=5): time 2.645e-06/0.39, allocations: 7.938 kB / 1.311 GB, free: 13.77 MB / 1.014 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.007188/0.3972, allocations: 0.7727 MB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.3973, allocations: 59.41 kB / 1.312 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3974, allocations: 109.8 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3974, allocations: 25.7 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.3975, allocations: 88.12 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.3976, allocations: 31.75 kB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.3977, allocations: 25.8 kB / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001774/0.3978, allocations: 330.7 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/0.3986, allocations: 91.91 kB / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/0.3993, allocations: 95.89 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.4007, allocations: 196.7 kB / 1.313 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4007, allocations: 0 / 1.313 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.001632/0.4023, allocations: 241.3 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4024, allocations: 4 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4024, allocations: 0 / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4024, allocations: 8 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.4029, allocations: 47.94 kB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.4029, allocations: 4 kB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.4032, allocations: 39.95 kB / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.4033, allocations: 11.92 kB / 1.313 GB, free: 11.55 MB / 1.014 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.4034, allocations: 117.7 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.4034, allocations: 7.953 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.4035, allocations: 12.38 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4035, allocations: 7.938 kB / 1.313 GB, free: 11.4 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4035, allocations: 0 / 1.313 GB, free: 11.4 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4035, allocations: 3.984 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.406, allocations: 0.5621 MB / 1.314 GB, free: 10.78 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.406, allocations: 0 / 1.314 GB, free: 10.78 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.4063, allocations: 56.16 kB / 1.314 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.4063, allocations: 8.062 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4064, allocations: 7.984 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.4064, allocations: 7.938 kB / 1.314 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4064, allocations: 4 kB / 1.314 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4077, allocations: 340.9 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.4077, allocations: 7.953 kB / 1.314 GB, free: 10.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.4078, allocations: 4 kB / 1.314 GB, free: 10.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.4081, allocations: 35.95 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.4082, allocations: 19.91 kB / 1.314 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.4083, allocations: 7.984 kB / 1.314 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.18e-05/0.4083, allocations: 87.28 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4083, allocations: 0 / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004781/0.4088, allocations: 39.86 kB / 1.314 GB, free: 10.14 MB / 1.014 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003185/0.4091, allocations: 127.8 kB / 1.315 GB, free: 10.01 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.00131/0.4104, allocations: 211.8 kB / 1.315 GB, free: 9.801 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4104, allocations: 3.938 kB / 1.315 GB, free: 9.797 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.411, allocations: 104 kB / 1.315 GB, free: 9.695 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.4113, allocations: 3.938 kB / 1.315 GB, free: 9.691 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.4131, allocations: 413.8 kB / 1.315 GB, free: 9.254 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.4135, allocations: 0.6885 MB / 1.316 GB, free: 8.539 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001105/0.4136, allocations: 21.73 kB / 1.316 GB, free: 8.52 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.4137, allocations: 19.42 kB / 1.316 GB, free: 8.5 MB / 1.014 GB
Notification: Performance of SimCode: time 4.91e-07/0.4137, allocations: 3.938 kB / 1.316 GB, free: 8.496 MB / 1.014 GB
Notification: Performance of Templates: time 0.005202/0.4189, allocations: 1.714 MB / 1.318 GB, free: 6.785 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.709261510521173]