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.001346/0.001346, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001529/0.001529, allocations: 216.4 kB / 22.25 MB, free: 5.117 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 / 256 MB, free: 7.996 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.366/3.366, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002977/0.002977, allocations: 64.09 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3748, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00179/0.3766, allocations: 0.6419 MB / 1.354 GB, free: 7.781 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3787, allocations: 1.529 MB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.3787, allocations: 0 / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.3787, allocations: 3.938 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.3788, allocations: 3.938 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.3792, allocations: 127.5 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.137e-05/0.3793, allocations: 19.98 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.3793, allocations: 7.922 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.3794, allocations: 15.94 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.3794, allocations: 27.89 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3794, allocations: 0 / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.3799, allocations: 311.4 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.38, allocations: 15.92 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.38, allocations: 11.92 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.3803, allocations: 191.7 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3803, allocations: 4 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3803, allocations: 3.938 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3803, allocations: 0 / 1.356 GB, free: 5.504 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.0005051/0.3808, allocations: 305.8 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3808, allocations: 8.031 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.3809, allocations: 30.75 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.3812, allocations: 64.86 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3814, allocations: 118.4 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3814, allocations: 384 / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3814, allocations: 8.375 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3817, allocations: 77.77 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3817, allocations: 0 / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3817, allocations: 0 / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3817, allocations: 0 / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.382, allocations: 79.84 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.3822, allocations: 136.8 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.3828, allocations: 126.5 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3829, allocations: 36.95 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.3829, allocations: 4 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.383, allocations: 38.5 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.383, allocations: 0 / 1.357 GB, free: 4.359 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.0041/0.3871, allocations: 0.7864 MB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3871, allocations: 51.41 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3872, allocations: 113.9 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.3873, allocations: 37.64 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.3873, allocations: 84.14 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.3874, allocations: 31.73 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.3874, allocations: 25.7 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3876, allocations: 318.8 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.388, allocations: 96.64 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.3884, allocations: 107.8 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.3891, allocations: 184.7 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3891, allocations: 3.938 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000887/0.39, allocations: 253.4 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3901, allocations: 6.031 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3901, allocations: 0 / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.3901, allocations: 4 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.3904, allocations: 59.94 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3904, allocations: 0 / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3906, allocations: 35.95 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3906, allocations: 0 / 1.359 GB, free: 2.133 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.00011/0.3908, allocations: 134.3 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3908, allocations: 7.953 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.3908, allocations: 8.375 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3908, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3908, allocations: 288 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3908, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.3925, allocations: 0.5692 MB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3925, allocations: 3.938 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.3928, allocations: 63.94 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3928, allocations: 0 / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3928, allocations: 7.984 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3928, allocations: 0 / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3928, allocations: 3.938 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/0.3937, allocations: 345.3 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.3937, allocations: 7.953 kB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3937, allocations: 0 / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.394, allocations: 39.95 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.394, allocations: 15.92 kB / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.394, allocations: 0 / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.881e-05/0.3941, allocations: 99.25 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3941, allocations: 3.938 kB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002955/0.3944, allocations: 35.86 kB / 1.36 GB, free: 0.7148 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.00137/0.3958, allocations: 0.8973 MB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008805/0.3967, allocations: 207.7 kB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3967, allocations: 0 / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.3971, allocations: 108 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.0002418/0.3973, allocations: 11.92 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.4019, allocations: 2.132 MB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4022, allocations: 0.6846 MB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.361e-05/0.4023, allocations: 20.66 kB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.4024, allocations: 31.42 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/0.4024, allocations: 0 / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.442, allocations: 2.883 MB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.55, allocations: 8.016 kB / 1.367 GB, free: 9.723 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable y in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable xInv in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable xInv from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! Error: Could not read variable dy_dt in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv. Warning: Get data of variable dy_dt from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.519324115000018]