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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 110 kB / 18.14 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 201.2 kB / 21.43 MB, free: 356 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 250.2 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.7 MB / 0.7637 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 63.91 kB / 1.108 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9727/0.9755, allocations: 168.7 MB / 1.273 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002367/0.9779, allocations: 1.288 MB / 1.274 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.9792, allocations: 0.835 MB / 1.275 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.9793, allocations: 0 / 1.275 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.9793, allocations: 3.938 kB / 1.275 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.9794, allocations: 7.938 kB / 1.275 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.9798, allocations: 127.5 kB / 1.275 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.9799, allocations: 27.86 kB / 1.275 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.98, allocations: 7.984 kB / 1.275 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.98, allocations: 7.938 kB / 1.275 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.9801, allocations: 15.92 kB / 1.275 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.9801, allocations: 4 kB / 1.275 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.9804, allocations: 167.7 kB / 1.275 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.9804, allocations: 4 kB / 1.275 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.9805, allocations: 15.92 kB / 1.275 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.9807, allocations: 121.5 kB / 1.275 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.9807, allocations: 0 / 1.275 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9807, allocations: 4 kB / 1.275 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.9807, allocations: 3.938 kB / 1.275 GB, free: 1.707 MB / 0.9669 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.000498/0.9812, allocations: 355.1 kB / 1.276 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.9812, allocations: 12.03 kB / 1.276 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.9813, allocations: 38.73 kB / 1.276 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.9813, allocations: 12.89 kB / 1.276 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.9815, allocations: 160.4 kB / 1.276 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.9815, allocations: 30.27 kB / 1.276 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.9815, allocations: 4.312 kB / 1.276 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.9817, allocations: 49.98 kB / 1.276 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.9817, allocations: 0 / 1.276 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.9817, allocations: 0 / 1.276 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9817, allocations: 4 kB / 1.276 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.9818, allocations: 19.98 kB / 1.276 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.982, allocations: 153.7 kB / 1.276 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.9822, allocations: 42.56 kB / 1.276 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.9823, allocations: 16.8 kB / 1.276 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/0.9826, allocations: 182.3 kB / 1.276 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.9826, allocations: 42.5 kB / 1.276 GB, free: 400 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.9826, allocations: 0 / 1.276 GB, free: 400 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002485/0.9828, allocations: 61.67 kB / 1.277 GB, free: 332 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.9829, allocations: 55.41 kB / 1.277 GB, free: 264 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/0.983, allocations: 98.02 kB / 1.277 GB, free: 156 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.983, allocations: 29.7 kB / 1.277 GB, free: 120 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.983, allocations: 84.14 kB / 1.277 GB, free: 32 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.983, allocations: 11.91 kB / 1.277 GB, free: 20 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.9831, allocations: 13.72 kB / 1.277 GB, free: 0 / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9832, allocations: 318.9 kB / 1.277 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.9833, allocations: 11.94 kB / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.9833, allocations: 15.81 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.9834, allocations: 28.84 kB / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9834, allocations: 8 kB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.9835, allocations: 57.64 kB / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9836, allocations: 7.938 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.9836, allocations: 0 / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9836, allocations: 4 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.9836, allocations: 7.984 kB / 1.277 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.9836, allocations: 3.938 kB / 1.277 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.9837, allocations: 7.938 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.9837, allocations: 0 / 1.277 GB, free: 15.52 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.292e-05/0.9838, allocations: 109.8 kB / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.9838, allocations: 7.938 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.984, allocations: 69.17 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.984, allocations: 0 / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.984, allocations: 3.938 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.984, allocations: 3.984 kB / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.9841, allocations: 153.7 kB / 1.278 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9841, allocations: 0 / 1.278 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.9841, allocations: 8 kB / 1.278 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.9842, allocations: 11.88 kB / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.9842, allocations: 0 / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.9842, allocations: 0 / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9842, allocations: 4 kB / 1.278 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.9843, allocations: 81.06 kB / 1.278 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.9844, allocations: 85.05 kB / 1.278 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.9844, allocations: 3.984 kB / 1.278 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.9845, allocations: 12 kB / 1.278 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.9845, allocations: 0 / 1.278 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.9845, allocations: 0 / 1.278 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.9846, allocations: 83.69 kB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9846, allocations: 0 / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002352/0.9848, allocations: 35.88 kB / 1.278 GB, free: 14.76 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.0006258/0.9854, allocations: 0.6688 MB / 1.279 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.9856, allocations: 27.97 kB / 1.279 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.9856, allocations: 4 kB / 1.279 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.9857, allocations: 15.94 kB / 1.279 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.9859, allocations: 7.984 kB / 1.279 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.9864, allocations: 176.6 kB / 1.279 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.9867, allocations: 0.6729 MB / 1.279 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.9867, allocations: 4 kB / 1.279 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.9868, allocations: 15.42 kB / 1.279 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.9868, allocations: 4 kB / 1.279 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/1.012, allocations: 1.935 MB / 1.281 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/9.015, allocations: 13.25 kB / 1.281 GB, free: 11.22 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.066756605170667]