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.001455/0.001455, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001528/0.001528, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.793 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.294/3.294, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002103/0.002103, allocations: 62.97 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3276, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001877/0.3295, allocations: 0.638 MB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3315, allocations: 1.428 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.3315, allocations: 4 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.3316, allocations: 3.938 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.3316, allocations: 7.938 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.3321, allocations: 119.5 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.3321, allocations: 27.92 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.3322, allocations: 11.98 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.3322, allocations: 11.94 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.3323, allocations: 27.83 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3323, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.3327, allocations: 239.5 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.3327, allocations: 7.969 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.3327, allocations: 11.94 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.333, allocations: 183.7 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3331, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3331, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3331, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 1.061 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.0005163/0.3336, allocations: 297.8 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3336, allocations: 8.031 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.3336, allocations: 34.75 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.334, allocations: 60.81 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3342, allocations: 126.4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3342, allocations: 384 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3342, allocations: 384 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.3345, allocations: 77.77 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3345, allocations: 7.953 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3345, allocations: 4 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3345, allocations: 0 / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.3349, allocations: 75.89 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.335, allocations: 136.8 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.3356, allocations: 122.4 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.3358, allocations: 44.95 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.3358, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3358, allocations: 38.48 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3358, allocations: 3.938 kB / 1.367 GB, free: 10.14 MB / 1.061 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.004106/0.3399, allocations: 0.783 MB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.34, allocations: 55.41 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3401, allocations: 113.8 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3401, allocations: 29.7 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.3402, allocations: 84.14 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.3402, allocations: 35.72 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.3403, allocations: 25.7 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3404, allocations: 322.8 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.3409, allocations: 91.91 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.3413, allocations: 99.89 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/0.3421, allocations: 196.6 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3421, allocations: 3.938 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00093/0.3431, allocations: 237.4 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3431, allocations: 10.34 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3431, allocations: 384 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3431, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.3434, allocations: 51.94 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3434, allocations: 320 / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.3437, allocations: 47.89 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3437, allocations: 7.984 kB / 1.369 GB, free: 7.918 MB / 1.061 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 9.602e-05/0.3438, allocations: 113.8 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3438, allocations: 7.953 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.3438, allocations: 12.38 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3438, allocations: 4 kB / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3438, allocations: 0 / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3438, allocations: 0 / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.3455, allocations: 0.5659 MB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3455, allocations: 4.031 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.3458, allocations: 51.94 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3458, allocations: 4 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3458, allocations: 0 / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.3458, allocations: 12 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.3458, allocations: 11.81 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.3468, allocations: 337 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.3468, allocations: 7.953 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3469, allocations: 7.984 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3471, allocations: 31.97 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3472, allocations: 15.91 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3472, allocations: 4 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.3472, allocations: 91.27 kB / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3472, allocations: 4 kB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002946/0.3475, allocations: 35.88 kB / 1.37 GB, free: 6.516 MB / 1.061 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.001396/0.3489, allocations: 0.8984 MB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009362/0.3499, allocations: 207.8 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3499, allocations: 0 / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.3503, allocations: 112 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.3506, allocations: 11.94 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.3554, allocations: 2.131 MB / 1.374 GB, free: 3.039 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.25e-05/0.3555, allocations: 67.34 kB / 1.374 GB, free: 2.953 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.3556, allocations: 24.66 kB / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/0.3557, allocations: 27.42 kB / 1.374 GB, free: 2.902 MB / 1.061 GB Notification: Performance of SimCode: time 5.82e-07/0.3557, allocations: 0 / 1.374 GB, free: 2.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.3847, allocations: 3.371 MB / 1.377 GB, free: 15.67 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 10.98 kB / 1.377 GB, free: 15.66 MB / 1.076 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: 19.092869013082236]