Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001231/0.001231, 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.001357/0.001357, 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.9106/0.9106, 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.83/1.83, allocations: 389 MB / 0.633 GB, free: 12.69 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.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9997 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.718e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001438/0.001455, allocations: 1.286 MB / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.002314, allocations: 0.7677 MB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.002332, allocations: 4 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.002349, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.002389, allocations: 15.8 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.00277, allocations: 123.4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.00284, allocations: 27.86 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.002879, allocations: 7.984 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.002928, allocations: 15.98 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.002979, allocations: 7.938 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.002992, allocations: 3.938 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.003194, allocations: 163.7 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.003211, allocations: 7.938 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.003227, allocations: 4 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.003409, allocations: 143.6 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003411, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003412, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003416, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 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.0003425/0.003758, allocations: 289.9 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.003796, allocations: 12.73 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.003826, allocations: 38.75 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.003856, allocations: 0.9375 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.02e-05/0.003926, allocations: 105.8 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/0.003989, allocations: 51.97 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.003996, allocations: 8.375 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.004108, allocations: 75.92 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.004115, allocations: 4.125 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.004122, allocations: 384 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004128, allocations: 3.938 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.004182, allocations: 19.98 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.004294, allocations: 120.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.004461, allocations: 46.61 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.004491, allocations: 20.94 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.004639, allocations: 31.97 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.004655, allocations: 30.56 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.004656, allocations: 0 / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001663/0.004822, allocations: 77.5 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.004848, allocations: 51.41 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.408e-05/0.004893, allocations: 93.86 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.004905, allocations: 37.69 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.004925, allocations: 84.12 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.004948, allocations: 15.84 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.004975, allocations: 21.72 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.005047, allocations: 310.8 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.005076, allocations: 15.98 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.005096, allocations: 4 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.303e-05/0.005149, allocations: 36.72 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005151, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.372e-05/0.005225, allocations: 65.61 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.005236, allocations: 4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00524, allocations: 0 / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.005253, allocations: 3.938 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.059e-05/0.005283, allocations: 8 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005288, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.496e-05/0.005303, allocations: 4 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.005308, allocations: 3.984 kB / 1.004 GB, free: 9.082 MB / 0.9636 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 4.813e-05/0.005356, allocations: 109.8 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-06/0.005361, allocations: 4 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.005469, allocations: 81.75 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.005471, allocations: 3.984 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.005476, allocations: 3.984 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005478, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.569e-05/0.005544, allocations: 124.8 kB / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.005545, allocations: 0 / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.005562, allocations: 8 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.005563, allocations: 0 / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.005569, allocations: 0 / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.005571, allocations: 7.938 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005572, allocations: 4 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.305e-05/0.005655, allocations: 85.05 kB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.005688, allocations: 7.984 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-06/0.005697, allocations: 4 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.505e-05/0.005722, allocations: 3.938 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.005748, allocations: 0 / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.005751, allocations: 4 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.005776, allocations: 83.27 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005776, allocations: 0 / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000153/0.005929, allocations: 35.88 kB / 1.004 GB, free: 8.438 MB / 0.9636 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.0003342/0.006263, allocations: 0.6707 MB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.517e-05/0.006349, allocations: 23.98 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.00635, allocations: 0 / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.006376, allocations: 15.98 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.006528, allocations: 11.94 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.006817, allocations: 162.4 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.006853, allocations: 63.34 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.006878, allocations: 0 / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.006903, allocations: 16.44 kB / 1.005 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/0.006904, allocations: 4 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.02291, allocations: 2.673 MB / 1.008 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.216, allocations: 4.062 kB / 1.008 GB, free: 4.855 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.536950958892703]