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.001771/0.001771, allocations: 113 kB / 18.94 MB, free: 2.934 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.002227/0.002227, allocations: 207.3 kB / 22.25 MB, free: 5.086 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 8.02 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.889/2.889, allocations: 476.8 MB / 0.7707 GB, free: 4.262 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.002084/0.002084, allocations: 67.16 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002752/0.3453, allocations: 1.315 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1675/0.5127, allocations: 135.2 MB / 1.417 GB, free: 2.699 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.5128, allocations: 0 / 1.417 GB, free: 2.699 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.5128, allocations: 0 / 1.417 GB, free: 2.699 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.5129, allocations: 3.938 kB / 1.417 GB, free: 2.695 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.5133, allocations: 59.52 kB / 1.417 GB, free: 2.641 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.5134, allocations: 23.86 kB / 1.417 GB, free: 2.617 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.5135, allocations: 4 kB / 1.417 GB, free: 2.613 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.5135, allocations: 15.92 kB / 1.417 GB, free: 2.598 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.551e-05/0.5136, allocations: 4 kB / 1.417 GB, free: 2.594 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.5136, allocations: 4 kB / 1.417 GB, free: 2.59 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.5137, allocations: 23.92 kB / 1.417 GB, free: 2.566 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.5137, allocations: 0 / 1.417 GB, free: 2.566 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.5137, allocations: 11.92 kB / 1.417 GB, free: 2.555 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.5139, allocations: 27.91 kB / 1.417 GB, free: 2.527 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5139, allocations: 4 kB / 1.417 GB, free: 2.523 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5139, allocations: 0 / 1.417 GB, free: 2.523 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.5139, allocations: 0 / 1.417 GB, free: 2.523 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.0004976/0.5144, allocations: 262.4 kB / 1.417 GB, free: 2.238 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5144, allocations: 8.031 kB / 1.417 GB, free: 2.23 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.5145, allocations: 30.75 kB / 1.417 GB, free: 2.191 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.5145, allocations: 4.938 kB / 1.417 GB, free: 2.188 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5146, allocations: 110.5 kB / 1.417 GB, free: 2.055 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/0.5147, allocations: 59.95 kB / 1.417 GB, free: 1.984 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.5147, allocations: 384 / 1.417 GB, free: 1.984 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.5148, allocations: 49.92 kB / 1.417 GB, free: 1.93 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5148, allocations: 0 / 1.417 GB, free: 1.93 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5149, allocations: 4 kB / 1.417 GB, free: 1.926 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5149, allocations: 4 kB / 1.417 GB, free: 1.922 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.5149, allocations: 11.98 kB / 1.417 GB, free: 1.91 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.5151, allocations: 124.7 kB / 1.418 GB, free: 1.746 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.5152, allocations: 30.61 kB / 1.418 GB, free: 1.707 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.5153, allocations: 8.953 kB / 1.418 GB, free: 1.695 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.5154, allocations: 23.92 kB / 1.418 GB, free: 1.672 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.5155, allocations: 42.44 kB / 1.418 GB, free: 1.621 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5155, allocations: 0 / 1.418 GB, free: 1.621 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002318/0.5157, allocations: 57.62 kB / 1.418 GB, free: 1.559 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.5157, allocations: 51.41 kB / 1.418 GB, free: 1.496 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.5158, allocations: 97.84 kB / 1.418 GB, free: 1.391 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.5158, allocations: 29.7 kB / 1.418 GB, free: 1.355 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.5159, allocations: 88.14 kB / 1.418 GB, free: 1.266 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.5159, allocations: 3.953 kB / 1.418 GB, free: 1.262 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.5159, allocations: 13.72 kB / 1.418 GB, free: 1.242 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.516, allocations: 314.8 kB / 1.418 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.5161, allocations: 11.92 kB / 1.418 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.5161, allocations: 7.938 kB / 1.418 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.085e-05/0.5162, allocations: 24.84 kB / 1.418 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.5162, allocations: 4 kB / 1.418 GB, free: 0.875 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001199/0.5163, allocations: 49.67 kB / 1.418 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5163, allocations: 11.94 kB / 1.418 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.5163, allocations: 0 / 1.418 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.5163, allocations: 0 / 1.418 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.5164, allocations: 4 kB / 1.418 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.5164, allocations: 0 / 1.418 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.5164, allocations: 4 kB / 1.418 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.5165, allocations: 0 / 1.418 GB, free: 0.8008 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 7.836e-05/0.5165, allocations: 117.8 kB / 1.418 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.5166, allocations: 16.39 kB / 1.418 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.5167, allocations: 49.38 kB / 1.419 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5167, allocations: 4.031 kB / 1.419 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5167, allocations: 4 kB / 1.419 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5167, allocations: 3.984 kB / 1.419 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.758e-05/0.5168, allocations: 120.8 kB / 1.419 GB, free: 444 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5168, allocations: 0 / 1.419 GB, free: 444 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.5169, allocations: 11.98 kB / 1.419 GB, free: 432 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5169, allocations: 7.938 kB / 1.419 GB, free: 424 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.5169, allocations: 0 / 1.419 GB, free: 424 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5169, allocations: 0 / 1.419 GB, free: 424 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.5169, allocations: 0 / 1.419 GB, free: 424 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.517, allocations: 77.06 kB / 1.419 GB, free: 328 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.5171, allocations: 11.92 kB / 1.419 GB, free: 316 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.5171, allocations: 0 / 1.419 GB, free: 316 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.5171, allocations: 4 kB / 1.419 GB, free: 312 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.5171, allocations: 7.984 kB / 1.419 GB, free: 304 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.5171, allocations: 4 kB / 1.419 GB, free: 300 kB / 1.107 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.5172, allocations: 79.22 kB / 1.419 GB, free: 220 kB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.5172, allocations: 0 / 1.419 GB, free: 220 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001974/0.5174, allocations: 15.94 kB / 1.419 GB, free: 204 kB / 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.0005182/0.5179, allocations: 0.6279 MB / 1.419 GB, free: 15.54 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.518, allocations: 23.92 kB / 1.42 GB, free: 15.52 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.518, allocations: 0 / 1.42 GB, free: 15.52 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.5181, allocations: 8 kB / 1.42 GB, free: 15.51 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.5183, allocations: 11.88 kB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.5187, allocations: 165.8 kB / 1.42 GB, free: 15.3 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.519, allocations: 0.6768 MB / 1.42 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.5191, allocations: 4 kB / 1.42 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.5191, allocations: 7.438 kB / 1.42 GB, free: 14.58 MB / 1.123 GB Notification: Performance of SimCode: time 3.41e-07/0.5191, allocations: 4 kB / 1.42 GB, free: 14.58 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.5471, allocations: 1.469 MB / 1.422 GB, free: 13.24 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.1, allocations: 13.31 kB / 1.422 GB, free: 13.23 MB / 1.123 GB " [Timeout remaining time 288] (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: 18.1969299579996]