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.001799/0.001799, allocations: 102 kB / 16.45 MB, free: 6.449 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.002181/0.002181, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.793/2.793, allocations: 476.7 MB / 0.7672 GB, free: 5.332 MB / 0.6231 GB " [Timeout remaining time 177] 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.002101/0.002101, allocations: 72.19 kB / 1.112 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001944/1.043, allocations: 0.6459 MB / 1.279 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002077/1.045, allocations: 1.505 MB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/1.045, allocations: 0 / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/1.045, allocations: 0 / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/1.045, allocations: 11.92 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/1.046, allocations: 128.5 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/1.046, allocations: 23.92 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/1.046, allocations: 4 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/1.046, allocations: 15.92 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/1.046, allocations: 19.92 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/1.046, allocations: 0 / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/1.046, allocations: 323.3 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/1.046, allocations: 7.984 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/1.046, allocations: 15.88 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/1.047, allocations: 189.2 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.047, allocations: 4 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/1.047, allocations: 4 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.047, allocations: 3.938 kB / 1.281 GB, free: 10.48 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.0005776/1.047, allocations: 382.9 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.047, allocations: 8.031 kB / 1.282 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/1.047, allocations: 30.75 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/1.048, allocations: 60.86 kB / 1.282 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/1.048, allocations: 180.3 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/1.048, allocations: 384 / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/1.048, allocations: 4.375 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/1.048, allocations: 77.77 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.048, allocations: 0 / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.048, allocations: 4 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/1.048, allocations: 3.938 kB / 1.282 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/1.049, allocations: 75.92 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/1.049, allocations: 165.7 kB / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/1.049, allocations: 124.2 kB / 1.282 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/1.05, allocations: 40.94 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/1.05, allocations: 0 / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.05, allocations: 38.5 kB / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/1.05, allocations: 3.938 kB / 1.282 GB, free: 9.137 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.004456/1.054, allocations: 0.7818 MB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/1.054, allocations: 51.41 kB / 1.283 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.054, allocations: 113.8 kB / 1.283 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/1.054, allocations: 29.7 kB / 1.283 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/1.054, allocations: 92.08 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/1.054, allocations: 35.69 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/1.055, allocations: 25.7 kB / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.055, allocations: 318.8 kB / 1.284 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/1.055, allocations: 95.89 kB / 1.284 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/1.056, allocations: 95.91 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/1.057, allocations: 196.9 kB / 1.284 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.057, allocations: 3.938 kB / 1.284 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001005/1.058, allocations: 245.4 kB / 1.284 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.058, allocations: 8 kB / 1.284 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.058, allocations: 0 / 1.284 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.058, allocations: 0 / 1.284 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/1.058, allocations: 51.94 kB / 1.284 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.058, allocations: 0 / 1.284 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/1.058, allocations: 35.95 kB / 1.284 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/1.058, allocations: 11.94 kB / 1.284 GB, free: 6.91 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.0001325/1.058, allocations: 117.8 kB / 1.285 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/1.058, allocations: 4 kB / 1.285 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/1.059, allocations: 16.36 kB / 1.285 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/1.059, allocations: 0 / 1.285 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.059, allocations: 0 / 1.285 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.059, allocations: 0 / 1.285 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/1.061, allocations: 0.602 MB / 1.285 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.061, allocations: 0 / 1.285 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/1.061, allocations: 59.94 kB / 1.285 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.061, allocations: 3.984 kB / 1.285 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.061, allocations: 8 kB / 1.285 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.061, allocations: 3.984 kB / 1.285 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.061, allocations: 3.938 kB / 1.285 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.062, allocations: 341.4 kB / 1.286 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/1.062, allocations: 85.28 kB / 1.286 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/1.062, allocations: 4 kB / 1.286 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/1.062, allocations: 39.89 kB / 1.286 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/1.062, allocations: 15.86 kB / 1.286 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.062, allocations: 4 kB / 1.286 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.903e-05/1.062, allocations: 95.25 kB / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.062, allocations: 4 kB / 1.286 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003337/1.063, allocations: 35.88 kB / 1.286 GB, free: 5.367 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.001526/1.064, allocations: 0.9056 MB / 1.287 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001/1.065, allocations: 211.8 kB / 1.287 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.065, allocations: 0 / 1.287 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004766/1.066, allocations: 111.9 kB / 1.287 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/1.066, allocations: 11.94 kB / 1.287 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/1.071, allocations: 2.128 MB / 1.289 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/1.072, allocations: 0.6846 MB / 1.29 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00011/1.072, allocations: 24.88 kB / 1.29 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.072, allocations: 23.42 kB / 1.29 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of SimCode: time 1.172e-06/1.072, allocations: 4 kB / 1.29 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/1.1, allocations: 2.758 MB / 1.292 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/9.145, allocations: 10.28 kB / 1.292 GB, free: 14.47 MB / 0.9981 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable y in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable xInv in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable xInv from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable dy_dt in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable dy_dt from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.396965550957248]