Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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.002036/0.002036, allocations: 103.2 kB / 16.45 MB, free: 6.504 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.002413/0.002413, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.495/1.495, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.839/2.839, allocations: 476.7 MB / 0.7672 GB, free: 5.199 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_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.002377/0.002377, allocations: 67.89 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9501/0.9525, allocations: 169.9 MB / 1.278 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002812/0.9553, allocations: 1.507 MB / 1.28 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.9566, allocations: 0.8232 MB / 1.281 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.9566, allocations: 0 / 1.281 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.9567, allocations: 7.938 kB / 1.281 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.9567, allocations: 15.86 kB / 1.281 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.9572, allocations: 127.5 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.9573, allocations: 47.8 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.9574, allocations: 18.08 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.9574, allocations: 23.92 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.9575, allocations: 19.92 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.9575, allocations: 7.938 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.9578, allocations: 179.8 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.9578, allocations: 7.984 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.9579, allocations: 27.86 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.9582, allocations: 151.5 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9582, allocations: 0 / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9582, allocations: 0 / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.9582, allocations: 0 / 1.281 GB, free: 10.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006965/0.9589, allocations: 402.9 kB / 1.282 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.9589, allocations: 12.03 kB / 1.282 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.9589, allocations: 34.75 kB / 1.282 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.959, allocations: 4.891 kB / 1.282 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.9591, allocations: 172.3 kB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.9591, allocations: 4.375 kB / 1.282 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.9591, allocations: 4.375 kB / 1.282 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.9594, allocations: 74.16 kB / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9594, allocations: 3.938 kB / 1.282 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.9594, allocations: 0 / 1.282 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9594, allocations: 4 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.9598, allocations: 67.92 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.9602, allocations: 284.8 kB / 1.282 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.9604, allocations: 66.45 kB / 1.282 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.9606, allocations: 36.92 kB / 1.282 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.9608, allocations: 89.09 kB / 1.282 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.9608, allocations: 38.55 kB / 1.282 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.9608, allocations: 3.938 kB / 1.282 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0007473/0.9616, allocations: 133.5 kB / 1.282 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.9616, allocations: 55.34 kB / 1.283 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.9617, allocations: 121.8 kB / 1.283 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.9617, allocations: 25.7 kB / 1.283 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.9618, allocations: 92.14 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.9618, allocations: 15.84 kB / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.9619, allocations: 13.72 kB / 1.283 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.962, allocations: 322.8 kB / 1.283 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.9622, allocations: 27.97 kB / 1.283 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.9623, allocations: 31.95 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.9626, allocations: 68.8 kB / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9626, allocations: 7.984 kB / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003415/0.963, allocations: 97.56 kB / 1.283 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.963, allocations: 8 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.963, allocations: 0 / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.963, allocations: 0 / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.9631, allocations: 15.98 kB / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.9631, allocations: 0 / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.9632, allocations: 11.98 kB / 1.283 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.9632, allocations: 0 / 1.283 GB, free: 8.059 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 (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 9.91e-05/0.9633, allocations: 121.8 kB / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.9633, allocations: 7.953 kB / 1.283 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.9637, allocations: 109.5 kB / 1.284 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9637, allocations: 3.938 kB / 1.284 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9637, allocations: 4 kB / 1.284 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.9637, allocations: 4 kB / 1.284 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.9639, allocations: 173.6 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.9639, allocations: 0 / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/0.964, allocations: 19.98 kB / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.964, allocations: 0 / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.964, allocations: 0 / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.964, allocations: 0 / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.964, allocations: 0 / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.9644, allocations: 199.7 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.9645, allocations: 85.05 kB / 1.284 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.9645, allocations: 4 kB / 1.284 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.9646, allocations: 11.98 kB / 1.284 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.9646, allocations: 8.016 kB / 1.284 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.9647, allocations: 4 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.202e-05/0.9647, allocations: 95.2 kB / 1.284 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9647, allocations: 0 / 1.284 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002781/0.965, allocations: 47.77 kB / 1.284 GB, free: 7.066 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 (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.0009249/0.9659, allocations: 0.762 MB / 1.285 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003616/0.9663, allocations: 67.92 kB / 1.285 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.9663, allocations: 0 / 1.285 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.9664, allocations: 39.89 kB / 1.285 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.9668, allocations: 15.11 kB / 1.285 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.9689, allocations: 1.426 MB / 1.286 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.9692, allocations: 0.6846 MB / 1.287 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.9692, allocations: 0 / 1.287 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.9693, allocations: 19.42 kB / 1.287 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9693, allocations: 3.938 kB / 1.287 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/1.007, allocations: 2.525 MB / 1.29 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/9.26, allocations: 7.5 kB / 1.29 GB, free: 1.492 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.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_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.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.498924358049408]