Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.001843/0.001843, 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.002358/0.002358, 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.526/1.526, 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 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.89/2.89, allocations: 476.7 MB / 0.7672 GB, free: 5.211 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.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_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.002169/0.002169, allocations: 79.83 kB / 1.112 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8616, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002426/0.864, allocations: 1.295 MB / 1.28 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.8655, allocations: 0.8272 MB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.8655, allocations: 0 / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.8655, allocations: 4 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.8655, allocations: 7.922 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.8661, allocations: 135.4 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.312e-05/0.8661, allocations: 23.92 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.8662, allocations: 0 / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.8662, allocations: 27.84 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.8663, allocations: 7.938 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.8663, allocations: 0 / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.8667, allocations: 175.8 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.8667, allocations: 7.984 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.8667, allocations: 11.94 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.8669, allocations: 121.4 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.8669, allocations: 0 / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8669, allocations: 3.938 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.8669, allocations: 0 / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005033/0.8675, allocations: 371.1 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8675, allocations: 8.031 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.8675, allocations: 38.75 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.8676, allocations: 4.875 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.8677, allocations: 164.4 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.8678, allocations: 34.25 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.8678, allocations: 4.375 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.8679, allocations: 46 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8679, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.8679, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.868, allocations: 3.938 kB / 1.281 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.8681, allocations: 23.98 kB / 1.282 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.8682, allocations: 157.6 kB / 1.282 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.8685, allocations: 42.59 kB / 1.282 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.8685, allocations: 20.94 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.8688, allocations: 182.2 kB / 1.282 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.8689, allocations: 34.5 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8689, allocations: 0 / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002775/0.8691, allocations: 69.61 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.8692, allocations: 55.41 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.8693, allocations: 93.86 kB / 1.282 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8693, allocations: 25.7 kB / 1.282 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.8693, allocations: 84.14 kB / 1.282 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.8693, allocations: 23.83 kB / 1.282 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.8694, allocations: 13.72 kB / 1.282 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8695, allocations: 318.8 kB / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.8696, allocations: 7.984 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.8696, allocations: 12 kB / 1.283 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/0.8697, allocations: 28.78 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8697, allocations: 4 kB / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000145/0.8699, allocations: 61.67 kB / 1.283 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8699, allocations: 7.938 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8699, allocations: 0 / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8699, allocations: 0 / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.87, allocations: 8 kB / 1.283 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.87, allocations: 0 / 1.283 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.87, allocations: 0 / 1.283 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.87, allocations: 4 kB / 1.283 GB, free: 8.559 MB / 0.9825 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 (4): * Single equations (assignments): 4 * 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.578e-05/0.8701, allocations: 113.8 kB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.8701, allocations: 11.89 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.8703, allocations: 69.11 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8703, allocations: 0 / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8703, allocations: 0 / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8703, allocations: 4 kB / 1.283 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.8704, allocations: 153.7 kB / 1.283 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8704, allocations: 7.938 kB / 1.283 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.8705, allocations: 8 kB / 1.283 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8705, allocations: 7.938 kB / 1.283 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.8705, allocations: 3.984 kB / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8705, allocations: 0 / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8705, allocations: 0.5625 kB / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.8707, allocations: 81.06 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.8707, allocations: 89.06 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.8707, allocations: 4 kB / 1.283 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.8708, allocations: 4 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.8708, allocations: 11.98 kB / 1.283 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.8708, allocations: 0 / 1.283 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.8709, allocations: 79.28 kB / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8709, allocations: 0 / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002472/0.8711, allocations: 39.81 kB / 1.283 GB, free: 7.773 MB / 0.9825 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 (4): * Single equations (assignments): 4 * 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.0006462/0.8718, allocations: 0.6712 MB / 1.284 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.8719, allocations: 23.98 kB / 1.284 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8719, allocations: 0 / 1.284 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.872, allocations: 15.98 kB / 1.284 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8722, allocations: 4 kB / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.8727, allocations: 180.4 kB / 1.284 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.873, allocations: 0.6768 MB / 1.285 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.136e-05/0.873, allocations: 7.984 kB / 1.285 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.8731, allocations: 7.438 kB / 1.285 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8731, allocations: 4 kB / 1.285 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.9024, allocations: 2.008 MB / 1.287 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.928, allocations: 19.25 kB / 1.287 GB, free: 4.18 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.33891032403335]