Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001336/0.001336, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00158/0.00158, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.298/3.298, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_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.002062/0.002062, allocations: 67.84 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3837, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001774/0.3855, allocations: 0.6593 MB / 1.354 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.3876, allocations: 1.513 MB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.3877, allocations: 3.938 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.3877, allocations: 0 / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.3877, allocations: 3.938 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.3882, allocations: 128.6 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.3882, allocations: 23.98 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.3883, allocations: 3.984 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.3883, allocations: 19.86 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.3884, allocations: 15.92 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3884, allocations: 4 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.3889, allocations: 327.3 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.389, allocations: 4 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.389, allocations: 15.92 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.3893, allocations: 191.7 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3893, allocations: 0 / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3893, allocations: 0 / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3893, allocations: 3.938 kB / 1.356 GB, free: 5.516 MB / 1.045 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.0005119/0.3898, allocations: 301.8 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3898, allocations: 16.03 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.3899, allocations: 38.69 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.3902, allocations: 56.86 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3904, allocations: 122.4 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3904, allocations: 384 / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.3904, allocations: 4.375 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.3907, allocations: 77.77 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3907, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3907, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3907, allocations: 4 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.3911, allocations: 63.92 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.3913, allocations: 152.7 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.3918, allocations: 122.5 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.392, allocations: 40.95 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.392, allocations: 0 / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3921, allocations: 38.5 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.3921, allocations: 0 / 1.357 GB, free: 4.367 MB / 1.045 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.004244/0.3963, allocations: 0.7902 MB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3963, allocations: 55.41 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3965, allocations: 109.8 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3965, allocations: 29.7 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3965, allocations: 88.08 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.3966, allocations: 31.73 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.3966, allocations: 29.7 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3968, allocations: 310.8 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.3972, allocations: 99.89 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.3976, allocations: 103.8 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.3984, allocations: 188.9 kB / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3984, allocations: 3.938 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009297/0.3993, allocations: 253.4 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3994, allocations: 4 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3994, allocations: 0 / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3994, allocations: 0 / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.3997, allocations: 55.94 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3997, allocations: 0 / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.3999, allocations: 35.95 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3999, allocations: 4 kB / 1.359 GB, free: 2.141 MB / 1.045 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.0001143/0.4001, allocations: 129.6 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.4001, allocations: 7.938 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.4001, allocations: 12.38 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4001, allocations: 0 / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4001, allocations: 0 / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4001, allocations: 0 / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.4019, allocations: 0.5731 MB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4019, allocations: 0 / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.4021, allocations: 56 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4021, allocations: 0 / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.4022, allocations: 7.984 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4022, allocations: 3.938 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4022, allocations: 7.922 kB / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.4031, allocations: 341 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.4031, allocations: 12.12 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.4031, allocations: 0 / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.4034, allocations: 43.89 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.4035, allocations: 15.86 kB / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4035, allocations: 4 kB / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.4035, allocations: 91.27 kB / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4035, allocations: 0 / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003017/0.4038, allocations: 43.88 kB / 1.36 GB, free: 0.7188 MB / 1.045 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.001415/0.4053, allocations: 0.8934 MB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009116/0.4062, allocations: 207.7 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4062, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.4066, allocations: 112 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.4069, allocations: 10.17 kB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.4115, allocations: 2.135 MB / 1.363 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4118, allocations: 0.6807 MB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.4119, allocations: 36.86 kB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.412, allocations: 19.42 kB / 1.364 GB, free: 12.49 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.412, allocations: 0 / 1.364 GB, free: 12.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03421/0.4462, allocations: 2.89 MB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.78, allocations: 3.828 kB / 1.367 GB, free: 9.727 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.63264411315322]