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.002065/0.002065, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002669/0.002669, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.692/1.692, allocations: 230.6 MB / 252.8 MB, free: 9.152 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.378/3.378, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.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: 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.002412/0.002412, allocations: 64.41 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3811, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002892/0.384, allocations: 1.29 MB / 1.349 GB, free: 8.703 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3856, allocations: 0.8338 MB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.3856, allocations: 4 kB / 1.35 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.3857, allocations: 3.938 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.3857, allocations: 4 kB / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.3863, allocations: 127.4 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.3864, allocations: 31.8 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.3865, allocations: 3.984 kB / 1.35 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.332e-05/0.3865, allocations: 12 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.3866, allocations: 11.92 kB / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3866, allocations: 4 kB / 1.35 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.387, allocations: 175.8 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.387, allocations: 3.984 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.387, allocations: 11.94 kB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.3873, allocations: 127.8 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3873, allocations: 0 / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3873, allocations: 0 / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.3873, allocations: 0 / 1.35 GB, free: 7.355 MB / 1.045 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.0005892/0.3879, allocations: 367.1 kB / 1.351 GB, free: 6.945 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.388, allocations: 19.98 kB / 1.351 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.388, allocations: 30.75 kB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.388, allocations: 4.938 kB / 1.351 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3882, allocations: 172.3 kB / 1.351 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.33e-05/0.3882, allocations: 34.27 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3882, allocations: 384 / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3884, allocations: 53.92 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3884, allocations: 0 / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3884, allocations: 0 / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3884, allocations: 4 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.3885, allocations: 15.98 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.3887, allocations: 157.7 kB / 1.351 GB, free: 6.355 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.3889, allocations: 42.56 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.3889, allocations: 16.94 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.3892, allocations: 178.2 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3893, allocations: 42.42 kB / 1.351 GB, free: 6.023 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3893, allocations: 0 / 1.351 GB, free: 6.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002479/0.3895, allocations: 65.67 kB / 1.351 GB, free: 5.953 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.3896, allocations: 51.41 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.3896, allocations: 97.86 kB / 1.352 GB, free: 5.785 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3896, allocations: 37.64 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.3897, allocations: 80.14 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3897, allocations: 15.84 kB / 1.352 GB, free: 5.645 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.3897, allocations: 17.7 kB / 1.352 GB, free: 5.621 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3899, allocations: 310.8 kB / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.3899, allocations: 12 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.39, allocations: 7.984 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.93e-05/0.3901, allocations: 36.78 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3901, allocations: 0 / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001319/0.3902, allocations: 54.2 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3902, allocations: 7.938 kB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3902, allocations: 0 / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3902, allocations: 3.984 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.3903, allocations: 8 kB / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3903, allocations: 0 / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.3903, allocations: 15.95 kB / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.3903, allocations: 4 kB / 1.352 GB, free: 5.152 MB / 1.045 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.126e-05/0.3904, allocations: 109.8 kB / 1.352 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.3904, allocations: 7.938 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.3906, allocations: 69.14 kB / 1.352 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3906, allocations: 4 kB / 1.352 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3906, allocations: 0 / 1.352 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3906, allocations: 0 / 1.352 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.3907, allocations: 165.6 kB / 1.353 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3907, allocations: 0 / 1.353 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.3908, allocations: 12 kB / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3908, allocations: 3.938 kB / 1.353 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.3908, allocations: 0 / 1.353 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3908, allocations: 0 / 1.353 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3908, allocations: 0 / 1.353 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.391, allocations: 85.05 kB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.391, allocations: 92.98 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.391, allocations: 4 kB / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.3911, allocations: 0 / 1.353 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3911, allocations: 8 kB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3911, allocations: 0 / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.3912, allocations: 83.27 kB / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3912, allocations: 0 / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002347/0.3914, allocations: 35.81 kB / 1.353 GB, free: 4.375 MB / 1.045 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.0006053/0.392, allocations: 0.6651 MB / 1.354 GB, free: 3.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.3922, allocations: 27.92 kB / 1.354 GB, free: 3.652 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3922, allocations: 0 / 1.354 GB, free: 3.652 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.3922, allocations: 15.98 kB / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.3924, allocations: 11.98 kB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.3929, allocations: 181 kB / 1.354 GB, free: 3.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3931, allocations: 0.6768 MB / 1.354 GB, free: 2.707 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.3932, allocations: 4 kB / 1.354 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.3932, allocations: 11.44 kB / 1.354 GB, free: 2.695 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3932, allocations: 0 / 1.354 GB, free: 2.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.4184, allocations: 2 MB / 1.356 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.645, allocations: 13.89 kB / 1.356 GB, free: 0.8047 MB / 1.045 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.889751978917047]