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.0009021/0.0009021, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00111/0.00111, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9207/0.9207, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.822/1.822, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.722e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001613/0.00163, allocations: 1.286 MB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5675/0.5692, allocations: 115.8 MB / 1.114 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.5692, allocations: 0 / 1.114 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.5692, allocations: 0 / 1.114 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.5693, allocations: 10.22 kB / 1.114 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.5696, allocations: 58.72 kB / 1.114 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.376e-05/0.5697, allocations: 20.02 kB / 1.114 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.5698, allocations: 7.703 kB / 1.114 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.5698, allocations: 14.38 kB / 1.114 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.5699, allocations: 13.06 kB / 1.114 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.5699, allocations: 1.094 kB / 1.114 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.57, allocations: 13.44 kB / 1.114 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.57, allocations: 1.953 kB / 1.114 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.57, allocations: 9.25 kB / 1.114 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.5702, allocations: 26.31 kB / 1.114 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5702, allocations: 0 / 1.114 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5702, allocations: 1.219 kB / 1.114 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5702, allocations: 4.703 kB / 1.114 GB, free: 11.71 MB / 0.9948 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.0003006/0.5705, allocations: 257.7 kB / 1.114 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5705, allocations: 14.5 kB / 1.114 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.394e-05/0.5705, allocations: 36.75 kB / 1.114 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5706, allocations: 9.656 kB / 1.114 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.03e-05/0.5707, allocations: 107.6 kB / 1.115 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.5708, allocations: 56.86 kB / 1.115 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.5708, allocations: 2.297 kB / 1.115 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/0.5709, allocations: 44.5 kB / 1.115 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.5709, allocations: 4.188 kB / 1.115 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.5709, allocations: 1.625 kB / 1.115 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5709, allocations: 3.938 kB / 1.115 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.5709, allocations: 11.55 kB / 1.115 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.571, allocations: 124.5 kB / 1.115 GB, free: 11 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.5711, allocations: 33.52 kB / 1.115 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.5712, allocations: 15.42 kB / 1.115 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.5712, allocations: 1.344 kB / 1.115 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.5712, allocations: 32.53 kB / 1.115 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.5712, allocations: 4 kB / 1.115 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0001741/0.5714, allocations: 63.52 kB / 1.115 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.5714, allocations: 51.41 kB / 1.115 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.812e-05/0.5714, allocations: 99.86 kB / 1.115 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.5714, allocations: 25.7 kB / 1.115 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-06/0.5714, allocations: 81.3 kB / 1.115 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.5714, allocations: 10.39 kB / 1.115 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.5715, allocations: 21.25 kB / 1.115 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.77e-05/0.5715, allocations: 313.2 kB / 1.116 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.5715, allocations: 9.812 kB / 1.116 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.5716, allocations: 10.41 kB / 1.116 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.5716, allocations: 23.16 kB / 1.116 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5716, allocations: 3.938 kB / 1.116 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.028e-05/0.5717, allocations: 56.02 kB / 1.116 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5717, allocations: 5.438 kB / 1.116 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5717, allocations: 0.5625 kB / 1.116 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5717, allocations: 5.188 kB / 1.116 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.5718, allocations: 6.547 kB / 1.116 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.5718, allocations: 4 kB / 1.116 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.5718, allocations: 6.234 kB / 1.116 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.5718, allocations: 1.438 kB / 1.116 GB, free: 10.18 MB / 0.9948 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 4.205e-05/0.5718, allocations: 107.5 kB / 1.116 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/0.5718, allocations: 2.422 kB / 1.116 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.5719, allocations: 8.844 kB / 1.116 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5719, allocations: 5.156 kB / 1.116 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5719, allocations: 1.156 kB / 1.116 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5719, allocations: 0 / 1.116 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.528e-05/0.5719, allocations: 127.8 kB / 1.116 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5719, allocations: 4.797 kB / 1.116 GB, free: 9.895 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.5719, allocations: 4.844 kB / 1.116 GB, free: 9.895 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5719, allocations: 5.109 kB / 1.116 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.572, allocations: 0.6094 kB / 1.116 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.572, allocations: 4.938 kB / 1.116 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.572, allocations: 0 / 1.116 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.372e-05/0.572, allocations: 79.91 kB / 1.116 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.5721, allocations: 3.578 kB / 1.116 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.5721, allocations: 0 / 1.116 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.5721, allocations: 11.03 kB / 1.116 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.5721, allocations: 3.016 kB / 1.116 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.5721, allocations: 1.156 kB / 1.116 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.595e-05/0.5722, allocations: 79.77 kB / 1.116 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5722, allocations: 0 / 1.116 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001239/0.5723, allocations: 11.12 kB / 1.116 GB, free: 9.727 MB / 0.9948 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.0002227/0.5725, allocations: 0.6073 MB / 1.117 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.5726, allocations: 21.94 kB / 1.117 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5726, allocations: 4 kB / 1.117 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.5726, allocations: 9.531 kB / 1.117 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.5729, allocations: 12.44 kB / 1.117 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.5732, allocations: 145.9 kB / 1.117 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.5733, allocations: 59.23 kB / 1.117 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.5733, allocations: 9.828 kB / 1.117 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.5733, allocations: 9.719 kB / 1.117 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of SimCode: time 9.02e-07/0.5733, allocations: 0 / 1.117 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.5907, allocations: 1.936 MB / 1.119 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.89, allocations: 8.219 kB / 1.119 GB, free: 8.012 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.213162909261882]