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.001318/0.001318, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001467/0.001467, allocations: 191.2 kB / 22.11 MB, free: 4.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.484/1.484, allocations: 225.6 MB / 250.8 MB, free: 2.926 MB / 190.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 2.929/2.929, allocations: 495.8 MB / 0.783 GB, free: 12.27 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.002074/0.002074, allocations: 63.89 kB / 1.137 GB, free: 10.08 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9845/0.9865, allocations: 173.6 MB / 1.307 GB, free: 0.8984 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001862/0.9884, allocations: 0.6332 MB / 1.307 GB, free: 0.5078 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00216/0.9906, allocations: 1.48 MB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.9906, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.9906, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.9907, allocations: 7.25 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.9912, allocations: 134.9 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.9912, allocations: 28.45 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.9913, allocations: 3.266 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.9913, allocations: 15.66 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.9914, allocations: 19.8 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.9914, allocations: 2.438 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.9919, allocations: 264 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.9919, allocations: 3.297 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.9919, allocations: 21.97 kB / 1.309 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.9922, allocations: 177.6 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9922, allocations: 0.5156 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.583e-06/0.9922, allocations: 1.062 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.25e-06/0.9922, allocations: 0 / 1.309 GB, free: 15.19 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.0005613/0.9928, allocations: 304.5 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.9928, allocations: 13.69 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.9932, allocations: 62.75 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.9934, allocations: 117.9 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.9934, allocations: 1.812 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.9934, allocations: 6.719 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.9937, allocations: 72.83 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.9937, allocations: 5.266 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.9937, allocations: 4 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.9937, allocations: 1.438 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.9941, allocations: 70.72 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.9944, allocations: 137.1 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.995, allocations: 127.5 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.9952, allocations: 40.38 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.9952, allocations: 5.156 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.9953, allocations: 35.06 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.9953, allocations: 5.281 kB / 1.31 GB, free: 14.43 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.004353/0.9996, allocations: 0.7845 MB / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.9997, allocations: 53.44 kB / 1.311 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.9998, allocations: 118.8 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.9998, allocations: 25.7 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.9999, allocations: 86.88 kB / 1.312 GB, free: 14 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.9999, allocations: 29.77 kB / 1.312 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/1, allocations: 30.73 kB / 1.312 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001658/1, allocations: 318.4 kB / 1.312 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/1.001, allocations: 94.69 kB / 1.312 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/1.001, allocations: 103.3 kB / 1.312 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/1.003, allocations: 190.1 kB / 1.312 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.003, allocations: 0.9688 kB / 1.312 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009813/1.004, allocations: 248.5 kB / 1.312 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.004, allocations: 5.969 kB / 1.312 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.004, allocations: 4 kB / 1.312 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.004, allocations: 1.094 kB / 1.312 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/1.004, allocations: 54.03 kB / 1.313 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.004, allocations: 5.594 kB / 1.313 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/1.004, allocations: 32.22 kB / 1.313 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/1.004, allocations: 13.09 kB / 1.313 GB, free: 13.48 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.0001087/1.004, allocations: 121.2 kB / 1.313 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/1.004, allocations: 10.56 kB / 1.313 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/1.004, allocations: 14.72 kB / 1.313 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/1.004, allocations: 1.156 kB / 1.313 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/1.004, allocations: 1.188 kB / 1.313 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.004, allocations: 0.7031 kB / 1.313 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/1.006, allocations: 0.5705 MB / 1.313 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.006, allocations: 1.344 kB / 1.313 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.007, allocations: 54.75 kB / 1.313 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.007, allocations: 1.375 kB / 1.313 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/1.007, allocations: 10.77 kB / 1.313 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/1.007, allocations: 5.281 kB / 1.313 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.007, allocations: 0 / 1.313 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.008, allocations: 340.1 kB / 1.314 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/1.008, allocations: 6.703 kB / 1.314 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/1.008, allocations: 5.219 kB / 1.314 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/1.008, allocations: 37.58 kB / 1.314 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/1.008, allocations: 20.23 kB / 1.314 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/1.008, allocations: 11.27 kB / 1.314 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.396e-05/1.008, allocations: 88 kB / 1.314 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/1.008, allocations: 0 / 1.314 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003936/1.009, allocations: 38.83 kB / 1.314 GB, free: 12.51 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.000287/1.009, allocations: 124.1 kB / 1.314 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001333/1.01, allocations: 210.4 kB / 1.314 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.01, allocations: 1.312 kB / 1.314 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004961/1.011, allocations: 106.3 kB / 1.314 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/1.011, allocations: 6.906 kB / 1.314 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/1.013, allocations: 407 kB / 1.315 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/1.013, allocations: 0.6939 MB / 1.315 GB, free: 11.31 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001225/1.013, allocations: 27.64 kB / 1.315 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/1.013, allocations: 19.14 kB / 1.315 GB, free: 11.28 MB / 1.014 GB
Notification: Performance of SimCode: time 7.32e-07/1.013, allocations: 1.312 kB / 1.315 GB, free: 11.28 MB / 1.014 GB
Notification: Performance of Templates: time 0.005834/1.019, allocations: 1.703 MB / 1.317 GB, free: 10.42 MB / 1.014 GB
"
[Timeout remaining time 299]
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: 9.151993428356946]