Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00172/0.00172, allocations: 111 kB / 16.46 MB, free: 6.453 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.002136/0.002136, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.565/1.565, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.385/3.385, allocations: 0.505 GB / 0.8066 GB, free: 23.24 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.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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.002106/0.002106, allocations: 73.19 kB / 1.172 GB, free: 17.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002436/0.3801, allocations: 1.303 MB / 1.349 GB, free: 8.711 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.5711, allocations: 135.2 MB / 1.481 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.5711, allocations: 0 / 1.481 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.5711, allocations: 3.938 kB / 1.481 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.5712, allocations: 15.86 kB / 1.481 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.5716, allocations: 67.94 kB / 1.481 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.87e-05/0.5717, allocations: 23.92 kB / 1.481 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.5717, allocations: 3.938 kB / 1.481 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.5718, allocations: 4 kB / 1.481 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.5719, allocations: 15.92 kB / 1.481 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.5719, allocations: 4 kB / 1.481 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.572, allocations: 19.98 kB / 1.481 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.572, allocations: 7.938 kB / 1.481 GB, free: 0.832 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.572, allocations: 15.92 kB / 1.481 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.5721, allocations: 19.97 kB / 1.481 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.5722, allocations: 4 kB / 1.481 GB, free: 0.793 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5722, allocations: 0 / 1.481 GB, free: 0.793 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5722, allocations: 3.938 kB / 1.481 GB, free: 0.7891 MB / 1.17 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.0004702/0.5726, allocations: 335.4 kB / 1.482 GB, free: 420 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5727, allocations: 15.98 kB / 1.482 GB, free: 404 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.5727, allocations: 30.75 kB / 1.482 GB, free: 364 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.5729, allocations: 16.92 kB / 1.482 GB, free: 348 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.573, allocations: 164.3 kB / 1.482 GB, free: 144 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.5731, allocations: 30.27 kB / 1.482 GB, free: 108 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.5731, allocations: 384 / 1.482 GB, free: 108 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.5733, allocations: 42 kB / 1.482 GB, free: 60 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.5733, allocations: 0 / 1.482 GB, free: 60 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.5733, allocations: 0 / 1.482 GB, free: 60 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5733, allocations: 4 kB / 1.482 GB, free: 56 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.5734, allocations: 15.92 kB / 1.482 GB, free: 40 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.5736, allocations: 161.6 kB / 1.482 GB, free: 15.83 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.5737, allocations: 34.59 kB / 1.482 GB, free: 15.79 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.5738, allocations: 12.86 kB / 1.482 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.5738, allocations: 0 / 1.482 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5738, allocations: 34.5 kB / 1.482 GB, free: 15.73 MB / 1.186 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5738, allocations: 0 / 1.482 GB, free: 15.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=3): time 0.0002421/0.574, allocations: 65.7 kB / 1.482 GB, free: 15.66 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5741, allocations: 55.41 kB / 1.482 GB, free: 15.59 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.5742, allocations: 97.84 kB / 1.482 GB, free: 15.49 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.5742, allocations: 25.7 kB / 1.482 GB, free: 15.46 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.5742, allocations: 84.14 kB / 1.482 GB, free: 15.37 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.5743, allocations: 7.953 kB / 1.482 GB, free: 15.36 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.5743, allocations: 17.67 kB / 1.482 GB, free: 15.34 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5744, allocations: 314.8 kB / 1.483 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.5745, allocations: 11.98 kB / 1.483 GB, free: 15.01 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.5745, allocations: 11.94 kB / 1.483 GB, free: 15 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.5746, allocations: 24.78 kB / 1.483 GB, free: 14.97 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5746, allocations: 0 / 1.483 GB, free: 14.97 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001418/0.5748, allocations: 49.69 kB / 1.483 GB, free: 14.92 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5748, allocations: 7.938 kB / 1.483 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5748, allocations: 0 / 1.483 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5748, allocations: 4 kB / 1.483 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.5749, allocations: 19.92 kB / 1.483 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5749, allocations: 0 / 1.483 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.5749, allocations: 0 / 1.483 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5749, allocations: 0 / 1.483 GB, free: 14.89 MB / 1.186 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 8.811e-05/0.575, allocations: 113.8 kB / 1.483 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.575, allocations: 3.938 kB / 1.483 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.5751, allocations: 3.5 kB / 1.483 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5751, allocations: 4 kB / 1.483 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5751, allocations: 3.984 kB / 1.483 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.5751, allocations: 4 kB / 1.483 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.5752, allocations: 145.7 kB / 1.483 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5752, allocations: 7.984 kB / 1.483 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.5753, allocations: 7.938 kB / 1.483 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5753, allocations: 3.938 kB / 1.483 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.5753, allocations: 0 / 1.483 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5753, allocations: 0 / 1.483 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5753, allocations: 0 / 1.483 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.5754, allocations: 81.62 kB / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.5755, allocations: 85.05 kB / 1.483 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5755, allocations: 7.984 kB / 1.483 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.5756, allocations: 0 / 1.483 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.5756, allocations: 0 / 1.483 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.5756, allocations: 7.984 kB / 1.483 GB, free: 14.31 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.5756, allocations: 79.28 kB / 1.483 GB, free: 14.23 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5756, allocations: 0 / 1.483 GB, free: 14.23 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001852/0.5758, allocations: 12 kB / 1.483 GB, free: 14.22 MB / 1.186 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.0004837/0.5763, allocations: 0.6124 MB / 1.484 GB, free: 13.58 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.5765, allocations: 19.98 kB / 1.484 GB, free: 13.56 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5765, allocations: 4 kB / 1.484 GB, free: 13.55 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/0.5765, allocations: 7.938 kB / 1.484 GB, free: 13.55 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.5768, allocations: 10.02 kB / 1.484 GB, free: 13.54 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.5772, allocations: 161.2 kB / 1.484 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.5775, allocations: 0.6768 MB / 1.485 GB, free: 12.64 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.5776, allocations: 4 kB / 1.485 GB, free: 12.64 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.5776, allocations: 11.44 kB / 1.485 GB, free: 12.63 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/0.5776, allocations: 3.938 kB / 1.485 GB, free: 12.62 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.6034, allocations: 1.275 MB / 1.486 GB, free: 11.49 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.858, allocations: 1.562 kB / 1.486 GB, free: 11.49 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_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_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.081574223935604]