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.00126/0.00126, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001389/0.001389, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.786/2.786, allocations: 476.7 MB / 0.7611 GB, free: 15.75 MB / 0.6075 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.001958/0.001958, allocations: 63.89 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.114, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002447/1.117, allocations: 1.275 MB / 1.27 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001301/1.118, allocations: 0.8298 MB / 1.271 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/1.118, allocations: 4.062 kB / 1.271 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/1.118, allocations: 4.594 kB / 1.271 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/1.118, allocations: 9.453 kB / 1.271 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/1.119, allocations: 126.4 kB / 1.271 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.074e-05/1.119, allocations: 27.41 kB / 1.271 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/1.119, allocations: 7.469 kB / 1.271 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/1.119, allocations: 15.67 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/1.119, allocations: 10.61 kB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/1.119, allocations: 1.531 kB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/1.119, allocations: 166.9 kB / 1.271 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/1.119, allocations: 14.39 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/1.119, allocations: 4.984 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/1.12, allocations: 120.8 kB / 1.271 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.12, allocations: 0 / 1.271 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.12, allocations: 0.7188 kB / 1.271 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.483e-06/1.12, allocations: 0 / 1.271 GB, free: 6.105 MB / 0.9981 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.0004553/1.12, allocations: 371 kB / 1.272 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.12, allocations: 9.969 kB / 1.272 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/1.12, allocations: 36.34 kB / 1.272 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/1.12, allocations: 11.23 kB / 1.272 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/1.12, allocations: 166.6 kB / 1.272 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/1.12, allocations: 34.47 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/1.12, allocations: 6.438 kB / 1.272 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/1.121, allocations: 51.12 kB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/1.121, allocations: 0.8438 kB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/1.121, allocations: 0.8125 kB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.121, allocations: 1.219 kB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/1.121, allocations: 17.59 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/1.121, allocations: 154.5 kB / 1.272 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/1.121, allocations: 49.61 kB / 1.272 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/1.121, allocations: 16.84 kB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/1.121, allocations: 177.2 kB / 1.272 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/1.121, allocations: 39.81 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/1.121, allocations: 0.8125 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000257/1.122, allocations: 63.92 kB / 1.272 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/1.122, allocations: 57 kB / 1.272 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.448e-05/1.122, allocations: 95.25 kB / 1.273 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/1.122, allocations: 27.61 kB / 1.273 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/1.122, allocations: 84.14 kB / 1.273 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/1.122, allocations: 10.47 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/1.122, allocations: 22.55 kB / 1.273 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.413e-05/1.122, allocations: 316.8 kB / 1.273 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/1.122, allocations: 7.656 kB / 1.273 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/1.122, allocations: 15.7 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/1.122, allocations: 26.34 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.122, allocations: 0 / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/1.122, allocations: 61.5 kB / 1.273 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.122, allocations: 9.094 kB / 1.273 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.122, allocations: 0 / 1.273 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.122, allocations: 1.547 kB / 1.273 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/1.122, allocations: 15.7 kB / 1.273 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.122, allocations: 8.766 kB / 1.273 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/1.122, allocations: 6.406 kB / 1.273 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/1.122, allocations: 0.8438 kB / 1.273 GB, free: 4.156 MB / 0.9981 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 5.741e-05/1.122, allocations: 113.3 kB / 1.273 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/1.122, allocations: 5.562 kB / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/1.123, allocations: 68.72 kB / 1.273 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.123, allocations: 0.8125 kB / 1.273 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.123, allocations: 0.8438 kB / 1.273 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.123, allocations: 4 kB / 1.273 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.752e-05/1.123, allocations: 155.3 kB / 1.273 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.123, allocations: 0 / 1.273 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/1.123, allocations: 12.16 kB / 1.274 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.123, allocations: 4.547 kB / 1.274 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/1.123, allocations: 1.062 kB / 1.274 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.123, allocations: 1.484 kB / 1.274 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.123, allocations: 0 / 1.274 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/1.123, allocations: 91.97 kB / 1.274 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/1.123, allocations: 84.72 kB / 1.274 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/1.123, allocations: 5.406 kB / 1.274 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/1.123, allocations: 2.188 kB / 1.274 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/1.123, allocations: 4 kB / 1.274 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/1.123, allocations: 1.594 kB / 1.274 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.496e-05/1.123, allocations: 78.92 kB / 1.274 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.123, allocations: 0.8438 kB / 1.274 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002476/1.123, allocations: 40.02 kB / 1.274 GB, free: 3.508 MB / 0.9981 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.0004665/1.124, allocations: 0.6599 MB / 1.274 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001818/1.124, allocations: 25.78 kB / 1.274 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.124, allocations: 4.812 kB / 1.274 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/1.124, allocations: 18.12 kB / 1.274 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/1.124, allocations: 13.77 kB / 1.275 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/1.125, allocations: 167.1 kB / 1.275 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/1.125, allocations: 0.6768 MB / 1.275 GB, free: 18.01 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.144e-05/1.125, allocations: 7.453 kB / 1.275 GB, free: 18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/1.125, allocations: 10.41 kB / 1.275 GB, free: 18 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.125, allocations: 0.6875 kB / 1.275 GB, free: 18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/1.154, allocations: 1.967 MB / 1.277 GB, free: 17.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/9.489, allocations: 9.328 kB / 1.277 GB, free: 17.56 MB / 1.014 GB " [Timeout remaining time 290] (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.615979633759707]