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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 112 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 476.7 MB / 0.7635 GB, free: 10.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 1.108 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7924, allocations: 168.7 MB / 1.272 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00183/0.7942, allocations: 0.655 MB / 1.273 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.7962, allocations: 1.454 MB / 1.274 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.7963, allocations: 0 / 1.274 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.7963, allocations: 7.938 kB / 1.275 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.7963, allocations: 7.922 kB / 1.275 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.7967, allocations: 123.5 kB / 1.275 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.7968, allocations: 23.97 kB / 1.275 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.7969, allocations: 11.92 kB / 1.275 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.7969, allocations: 15.94 kB / 1.275 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.797, allocations: 23.91 kB / 1.275 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.797, allocations: 0 / 1.275 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.7975, allocations: 315.4 kB / 1.275 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.7975, allocations: 7.984 kB / 1.275 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.7975, allocations: 11.88 kB / 1.275 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.7978, allocations: 189.3 kB / 1.275 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7978, allocations: 0 / 1.275 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.71e-07/0.7978, allocations: 3.938 kB / 1.275 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7978, allocations: 0 / 1.275 GB, free: 1.555 MB / 0.9669 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.0005175/0.7983, allocations: 386.9 kB / 1.276 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7984, allocations: 12.03 kB / 1.276 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.7984, allocations: 34.69 kB / 1.276 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.7988, allocations: 64.81 kB / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.7989, allocations: 172.4 kB / 1.276 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.7989, allocations: 384 / 1.276 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.799, allocations: 4.375 kB / 1.276 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.7992, allocations: 73.77 kB / 1.276 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.7992, allocations: 11.89 kB / 1.276 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.7992, allocations: 4 kB / 1.276 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7993, allocations: 3.984 kB / 1.276 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.7996, allocations: 71.86 kB / 1.276 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.7998, allocations: 169.7 kB / 1.276 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.8004, allocations: 126.5 kB / 1.276 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.8005, allocations: 40.95 kB / 1.276 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.8006, allocations: 0 / 1.276 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.8006, allocations: 34.5 kB / 1.276 GB, free: 204 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.8006, allocations: 4 kB / 1.276 GB, free: 200 kB / 0.9669 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.003979/0.8046, allocations: 0.7895 MB / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.8046, allocations: 51.41 kB / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.8047, allocations: 113.8 kB / 1.277 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.8047, allocations: 25.7 kB / 1.277 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.8048, allocations: 88.14 kB / 1.277 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.8048, allocations: 27.73 kB / 1.277 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.8049, allocations: 29.7 kB / 1.277 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.805, allocations: 318.8 kB / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.8054, allocations: 95.89 kB / 1.278 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.8059, allocations: 99.83 kB / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/0.8067, allocations: 193.7 kB / 1.278 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8067, allocations: 3.938 kB / 1.278 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009389/0.8076, allocations: 245.3 kB / 1.278 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8077, allocations: 8 kB / 1.278 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.8077, allocations: 0 / 1.278 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.8077, allocations: 4 kB / 1.278 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.808, allocations: 51.94 kB / 1.278 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.808, allocations: 4 kB / 1.278 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.8082, allocations: 39.95 kB / 1.278 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.8082, allocations: 7.938 kB / 1.278 GB, free: 13.96 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 9.481e-05/0.8083, allocations: 117.7 kB / 1.279 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.8084, allocations: 11.94 kB / 1.279 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.8084, allocations: 16.38 kB / 1.279 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8084, allocations: 0 / 1.279 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.8084, allocations: 0 / 1.279 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8084, allocations: 0 / 1.279 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.8101, allocations: 0.5977 MB / 1.279 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.8101, allocations: 4 kB / 1.279 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.8104, allocations: 51.88 kB / 1.279 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.8104, allocations: 4 kB / 1.279 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.8104, allocations: 12.05 kB / 1.279 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.8104, allocations: 4.078 kB / 1.279 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8104, allocations: 7.922 kB / 1.279 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/0.8114, allocations: 337 kB / 1.28 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.8114, allocations: 81.06 kB / 1.28 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.8115, allocations: 8 kB / 1.28 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.8117, allocations: 31.95 kB / 1.28 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.8117, allocations: 15.92 kB / 1.28 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.8118, allocations: 8 kB / 1.28 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.321e-05/0.8118, allocations: 91.27 kB / 1.28 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8118, allocations: 0 / 1.28 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002955/0.8121, allocations: 35.88 kB / 1.28 GB, free: 12.43 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.001478/0.8136, allocations: 0.9073 MB / 1.281 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009349/0.8145, allocations: 211.7 kB / 1.281 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8145, allocations: 0 / 1.281 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.815, allocations: 99.95 kB / 1.281 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.8152, allocations: 11.94 kB / 1.281 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.8203, allocations: 2.151 MB / 1.283 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.8207, allocations: 0.6885 MB / 1.284 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.85e-05/0.8208, allocations: 20.66 kB / 1.284 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.8208, allocations: 27.42 kB / 1.284 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of SimCode: time 9.11e-07/0.8208, allocations: 0 / 1.284 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.8536, allocations: 2.751 MB / 1.287 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/9.006, allocations: 7.531 kB / 1.287 GB, free: 5.504 MB / 0.9825 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_2/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: 14.979273619013838]