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.001736/0.001736, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001651/0.001651, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.781 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.436/3.436, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002096/0.002096, allocations: 63.77 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.424, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002872/0.4269, allocations: 1.286 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.5996, allocations: 115.7 MB / 1.478 GB, free: 8.625 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.5997, allocations: 8 kB / 1.478 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.5997, allocations: 0 / 1.478 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 7.134e-05/0.5998, allocations: 7.922 kB / 1.478 GB, free: 8.609 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.6002, allocations: 55.97 kB / 1.478 GB, free: 8.555 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.6004, allocations: 27.86 kB / 1.478 GB, free: 8.527 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.6004, allocations: 0 / 1.478 GB, free: 8.527 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/0.6004, allocations: 11.98 kB / 1.478 GB, free: 8.516 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.6005, allocations: 11.92 kB / 1.478 GB, free: 8.504 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.6005, allocations: 0 / 1.478 GB, free: 8.504 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.6006, allocations: 15.94 kB / 1.478 GB, free: 8.488 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.6007, allocations: 11.98 kB / 1.478 GB, free: 8.477 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.6007, allocations: 7.938 kB / 1.478 GB, free: 8.469 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.6008, allocations: 15.98 kB / 1.478 GB, free: 8.453 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.6008, allocations: 8 kB / 1.478 GB, free: 8.445 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6008, allocations: 0 / 1.478 GB, free: 8.445 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.6008, allocations: 0 / 1.478 GB, free: 8.445 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.0004898/0.6013, allocations: 254.3 kB / 1.478 GB, free: 8.164 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6014, allocations: 8.031 kB / 1.478 GB, free: 8.156 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.6014, allocations: 30.75 kB / 1.478 GB, free: 8.117 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.6016, allocations: 20.88 kB / 1.478 GB, free: 8.098 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.6017, allocations: 114.4 kB / 1.478 GB, free: 7.961 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.6018, allocations: 59.95 kB / 1.478 GB, free: 7.891 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.6019, allocations: 8.375 kB / 1.478 GB, free: 7.883 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.602, allocations: 45.92 kB / 1.478 GB, free: 7.832 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.602, allocations: 0 / 1.478 GB, free: 7.832 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.602, allocations: 0 / 1.478 GB, free: 7.832 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.602, allocations: 0 / 1.478 GB, free: 7.832 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.6021, allocations: 12 kB / 1.478 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.6023, allocations: 128.7 kB / 1.479 GB, free: 7.652 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.6024, allocations: 38.61 kB / 1.479 GB, free: 7.605 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.6025, allocations: 8.859 kB / 1.479 GB, free: 7.594 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.6025, allocations: 0 / 1.479 GB, free: 7.594 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.6025, allocations: 38.44 kB / 1.479 GB, free: 7.547 MB / 1.17 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.6025, allocations: 0 / 1.479 GB, free: 7.547 MB / 1.17 GB Notification: Performance of matching and sorting (n=3): time 0.0002523/0.6028, allocations: 61.77 kB / 1.479 GB, free: 7.48 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.6028, allocations: 51.41 kB / 1.479 GB, free: 7.418 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.6029, allocations: 97.84 kB / 1.479 GB, free: 7.312 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.6029, allocations: 29.7 kB / 1.479 GB, free: 7.277 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.603, allocations: 84.14 kB / 1.479 GB, free: 7.191 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.603, allocations: 11.91 kB / 1.479 GB, free: 7.18 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.603, allocations: 9.719 kB / 1.479 GB, free: 7.164 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6032, allocations: 318.8 kB / 1.479 GB, free: 6.844 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.6032, allocations: 7.984 kB / 1.479 GB, free: 6.836 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.6032, allocations: 8 kB / 1.479 GB, free: 6.828 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.599e-05/0.6033, allocations: 28.78 kB / 1.479 GB, free: 6.797 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6033, allocations: 0 / 1.479 GB, free: 6.797 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001277/0.6035, allocations: 49.69 kB / 1.479 GB, free: 6.742 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.6035, allocations: 11.94 kB / 1.479 GB, free: 6.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6035, allocations: 0.5156 kB / 1.479 GB, free: 6.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6035, allocations: 0 / 1.479 GB, free: 6.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.6036, allocations: 7.984 kB / 1.479 GB, free: 6.723 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.6036, allocations: 0 / 1.479 GB, free: 6.723 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.6036, allocations: 4 kB / 1.479 GB, free: 6.719 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.6036, allocations: 4 kB / 1.479 GB, free: 6.715 MB / 1.17 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.593e-05/0.6037, allocations: 109.8 kB / 1.479 GB, free: 6.598 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.6037, allocations: 7.938 kB / 1.479 GB, free: 6.59 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.6038, allocations: 19.61 kB / 1.479 GB, free: 6.562 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6038, allocations: 0 / 1.479 GB, free: 6.562 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6038, allocations: 3.984 kB / 1.479 GB, free: 6.559 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6038, allocations: 0 / 1.479 GB, free: 6.559 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.6039, allocations: 120.8 kB / 1.48 GB, free: 6.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.6039, allocations: 0 / 1.48 GB, free: 6.398 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.604, allocations: 15.92 kB / 1.48 GB, free: 6.383 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.604, allocations: 3.938 kB / 1.48 GB, free: 6.379 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.604, allocations: 0 / 1.48 GB, free: 6.379 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.604, allocations: 3.984 kB / 1.48 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.604, allocations: 0 / 1.48 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.6041, allocations: 77.08 kB / 1.48 GB, free: 6.281 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.6042, allocations: 7.938 kB / 1.48 GB, free: 6.273 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.6042, allocations: 3.984 kB / 1.48 GB, free: 6.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.6042, allocations: 4 kB / 1.48 GB, free: 6.266 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.6042, allocations: 3.938 kB / 1.48 GB, free: 6.262 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.6042, allocations: 4 kB / 1.48 GB, free: 6.258 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.6043, allocations: 75.28 kB / 1.48 GB, free: 6.184 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6043, allocations: 0 / 1.48 GB, free: 6.184 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001825/0.6045, allocations: 11.98 kB / 1.48 GB, free: 6.172 MB / 1.17 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.0004724/0.6049, allocations: 0.6046 MB / 1.48 GB, free: 5.535 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.6051, allocations: 27.92 kB / 1.48 GB, free: 5.508 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6051, allocations: 0 / 1.48 GB, free: 5.508 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.6051, allocations: 7.984 kB / 1.48 GB, free: 5.5 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.6054, allocations: 12 kB / 1.48 GB, free: 5.488 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.6059, allocations: 153.9 kB / 1.481 GB, free: 5.297 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.661e-05/0.606, allocations: 59.34 kB / 1.481 GB, free: 5.219 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.606, allocations: 0 / 1.481 GB, free: 5.219 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.606, allocations: 11.44 kB / 1.481 GB, free: 5.207 MB / 1.17 GB Notification: Performance of SimCode: time 3.91e-07/0.606, allocations: 0 / 1.481 GB, free: 5.207 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.6368, allocations: 1.8 MB / 1.482 GB, free: 3.555 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.89, allocations: 9.516 kB / 1.482 GB, free: 3.547 MB / 1.17 GB " [Timeout remaining time 288] (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: 19.362795351073146]