Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 216.6 kB / 22.25 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.93/2.93, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 68.75 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002038/0.3797, allocations: 0.646 MB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.3821, allocations: 1.526 MB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3821, allocations: 0 / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.3822, allocations: 0 / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.3822, allocations: 7.922 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.3828, allocations: 123.5 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.3828, allocations: 27.86 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.3829, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.3829, allocations: 19.92 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.383, allocations: 15.92 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.383, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.3836, allocations: 319.4 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.3836, allocations: 11.98 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.3836, allocations: 7.875 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.384, allocations: 191.7 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.384, allocations: 7.938 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.355e-06/0.384, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.384, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 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.000657/0.3847, allocations: 317.8 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3848, allocations: 8.031 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.3848, allocations: 30.75 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004253/0.3852, allocations: 60.86 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3854, allocations: 118.5 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.3854, allocations: 384 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.3854, allocations: 4.375 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.3858, allocations: 77.77 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3858, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3858, allocations: 3.984 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3858, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.3862, allocations: 79.86 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.3864, allocations: 140.7 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.387, allocations: 122.5 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.3872, allocations: 40.94 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3872, allocations: 7.938 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3872, allocations: 34.5 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3872, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 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.004263/0.3915, allocations: 0.79 MB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.3915, allocations: 51.41 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3917, allocations: 117.8 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3917, allocations: 33.7 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.3918, allocations: 88.12 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.3918, allocations: 27.75 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.3919, allocations: 25.7 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.392, allocations: 318.8 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.3925, allocations: 103.8 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.3929, allocations: 100.1 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.3937, allocations: 192.7 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.3937, allocations: 3.938 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009127/0.3946, allocations: 245.4 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.3946, allocations: 7.984 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3946, allocations: 0 / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3946, allocations: 0 / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.395, allocations: 51.94 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.395, allocations: 4 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3952, allocations: 35.95 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3952, allocations: 4 kB / 1.289 GB, free: 5.387 MB / 0.9825 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.0001099/0.3953, allocations: 121.7 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.3953, allocations: 4 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.3954, allocations: 12.38 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3954, allocations: 7.969 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3954, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3954, allocations: 0 / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.3972, allocations: 0.5769 MB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3972, allocations: 0 / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.3974, allocations: 59.94 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3975, allocations: 0 / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3975, allocations: 11.94 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3975, allocations: 0 / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3975, allocations: 3.938 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/0.3984, allocations: 345.2 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3985, allocations: 4 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3985, allocations: 4 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3987, allocations: 39.95 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3988, allocations: 11.92 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3988, allocations: 7.984 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.926e-05/0.3989, allocations: 91.27 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3989, allocations: 0 / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003176/0.3992, allocations: 39.88 kB / 1.291 GB, free: 3.973 MB / 0.9825 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.001569/0.4008, allocations: 0.8895 MB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009539/0.4017, allocations: 215.7 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4017, allocations: 4 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.4022, allocations: 104 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4024, allocations: 11.94 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.4075, allocations: 2.131 MB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.4078, allocations: 0.6846 MB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.4079, allocations: 24.97 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.408, allocations: 31.42 kB / 1.295 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.408, allocations: 0 / 1.295 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.4418, allocations: 2.877 MB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.67, allocations: 9.5 kB / 1.297 GB, free: 12.99 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.534211293095723]