Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.00198/0.00198, allocations: 107.7 kB / 16.46 MB, free: 6.512 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.002331/0.002331, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.881/2.881, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 176] 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.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.002593/0.002593, allocations: 71.91 kB / 1.112 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9236/0.9262, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002593/0.9288, allocations: 1.305 MB / 1.28 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1798/1.109, allocations: 135.2 MB / 1.412 GB, free: 4.363 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/1.109, allocations: 0 / 1.412 GB, free: 4.363 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/1.109, allocations: 0 / 1.412 GB, free: 4.363 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/1.109, allocations: 7.875 kB / 1.412 GB, free: 4.355 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/1.109, allocations: 59.52 kB / 1.412 GB, free: 4.301 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.245e-05/1.109, allocations: 23.86 kB / 1.412 GB, free: 4.277 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/1.109, allocations: 15.98 kB / 1.412 GB, free: 4.262 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/1.109, allocations: 4 kB / 1.412 GB, free: 4.258 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/1.109, allocations: 11.92 kB / 1.412 GB, free: 4.246 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/1.109, allocations: 0 / 1.412 GB, free: 4.246 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 9.642e-05/1.11, allocations: 19.94 kB / 1.412 GB, free: 4.227 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/1.11, allocations: 3.984 kB / 1.412 GB, free: 4.223 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/1.11, allocations: 7.938 kB / 1.412 GB, free: 4.215 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/1.11, allocations: 27.97 kB / 1.412 GB, free: 4.188 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.11, allocations: 0 / 1.412 GB, free: 4.188 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.493e-06/1.11, allocations: 0 / 1.412 GB, free: 4.188 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.67e-06/1.11, allocations: 0 / 1.412 GB, free: 4.188 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005192/1.11, allocations: 341.4 kB / 1.412 GB, free: 3.805 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.11, allocations: 8.031 kB / 1.412 GB, free: 3.797 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/1.11, allocations: 30.75 kB / 1.412 GB, free: 3.758 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/1.11, allocations: 8.875 kB / 1.412 GB, free: 3.75 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/1.11, allocations: 164.4 kB / 1.412 GB, free: 3.551 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/1.111, allocations: 34.27 kB / 1.412 GB, free: 3.512 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/1.111, allocations: 384 / 1.412 GB, free: 3.512 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/1.111, allocations: 42 kB / 1.412 GB, free: 3.465 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.111, allocations: 4 kB / 1.412 GB, free: 3.461 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.111, allocations: 7.922 kB / 1.412 GB, free: 3.453 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.111, allocations: 0 / 1.412 GB, free: 3.453 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/1.111, allocations: 15.98 kB / 1.412 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/1.111, allocations: 153.7 kB / 1.413 GB, free: 3.238 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.111, allocations: 26.58 kB / 1.413 GB, free: 3.203 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/1.111, allocations: 12.94 kB / 1.413 GB, free: 3.188 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/1.111, allocations: 93.09 kB / 1.413 GB, free: 3.078 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.111, allocations: 34.5 kB / 1.413 GB, free: 3.035 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.111, allocations: 0 / 1.413 GB, free: 3.035 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002503/1.112, allocations: 69.56 kB / 1.413 GB, free: 2.961 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.112, allocations: 51.41 kB / 1.413 GB, free: 2.898 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/1.112, allocations: 97.86 kB / 1.413 GB, free: 2.793 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/1.112, allocations: 25.7 kB / 1.413 GB, free: 2.762 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/1.112, allocations: 80.14 kB / 1.413 GB, free: 2.68 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/1.112, allocations: 7.953 kB / 1.413 GB, free: 2.672 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/1.112, allocations: 17.7 kB / 1.413 GB, free: 2.648 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.112, allocations: 310.8 kB / 1.413 GB, free: 2.336 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/1.112, allocations: 8 kB / 1.413 GB, free: 2.328 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/1.112, allocations: 15.92 kB / 1.413 GB, free: 2.312 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.24e-05/1.112, allocations: 28.78 kB / 1.413 GB, free: 2.281 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.112, allocations: 0 / 1.413 GB, free: 2.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000139/1.112, allocations: 53.69 kB / 1.413 GB, free: 2.223 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.112, allocations: 7.938 kB / 1.413 GB, free: 2.215 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/1.112, allocations: 0 / 1.413 GB, free: 2.215 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.112, allocations: 0 / 1.413 GB, free: 2.215 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/1.112, allocations: 8 kB / 1.413 GB, free: 2.207 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/1.112, allocations: 0 / 1.413 GB, free: 2.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/1.112, allocations: 11.92 kB / 1.413 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.113, allocations: 0 / 1.413 GB, free: 2.195 MB / 1.107 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 (3): * Single equations (assignments): 3 * 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.581e-05/1.113, allocations: 113.8 kB / 1.414 GB, free: 2.074 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/1.113, allocations: 11.83 kB / 1.414 GB, free: 2.062 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/1.113, allocations: 57.62 kB / 1.414 GB, free: 1.992 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.113, allocations: 4 kB / 1.414 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.113, allocations: 0 / 1.414 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.113, allocations: 0 / 1.414 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/1.113, allocations: 153.7 kB / 1.414 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.113, allocations: 4 kB / 1.414 GB, free: 1.785 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/1.113, allocations: 4 kB / 1.414 GB, free: 1.781 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.113, allocations: 7.969 kB / 1.414 GB, free: 1.773 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/1.113, allocations: 0 / 1.414 GB, free: 1.773 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.113, allocations: 4 kB / 1.414 GB, free: 1.77 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.113, allocations: 0 / 1.414 GB, free: 1.77 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/1.113, allocations: 77.05 kB / 1.414 GB, free: 1.676 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/1.113, allocations: 89.05 kB / 1.414 GB, free: 1.57 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/1.113, allocations: 0 / 1.414 GB, free: 1.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.111e-05/1.113, allocations: 3.984 kB / 1.414 GB, free: 1.566 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/1.113, allocations: 4 kB / 1.414 GB, free: 1.562 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/1.113, allocations: 0 / 1.414 GB, free: 1.562 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.511e-05/1.113, allocations: 79.28 kB / 1.414 GB, free: 1.484 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.113, allocations: 0 / 1.414 GB, free: 1.484 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001907/1.114, allocations: 12 kB / 1.414 GB, free: 1.473 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0005569/1.114, allocations: 0.6324 MB / 1.415 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001464/1.114, allocations: 23.92 kB / 1.415 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.114, allocations: 0 / 1.415 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/1.114, allocations: 15.98 kB / 1.415 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/1.115, allocations: 4 kB / 1.415 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/1.115, allocations: 169.3 kB / 1.415 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/1.115, allocations: 0.6767 MB / 1.416 GB, free: 15.86 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 4.035e-05/1.115, allocations: 4 kB / 1.416 GB, free: 15.86 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/1.115, allocations: 7.438 kB / 1.416 GB, free: 15.85 MB / 1.123 GB Notification: Performance of SimCode: time 3e-07/1.115, allocations: 4 kB / 1.416 GB, free: 15.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/1.143, allocations: 1.373 MB / 1.417 GB, free: 14.59 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/9.335, allocations: 18.33 kB / 1.417 GB, free: 14.58 MB / 1.123 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_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_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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: 15.608902651118115]