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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006935/0.006936, allocations: 100.6 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 197.2 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001569, allocations: 64.11 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3979, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002674/0.4006, allocations: 1.271 MB / 1.209 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.402, allocations: 0.83 MB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.402, allocations: 0 / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.4021, allocations: 0 / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.493e-05/0.4021, allocations: 3.938 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.4026, allocations: 139.3 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.4027, allocations: 27.91 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.4028, allocations: 4 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.4028, allocations: 11.88 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.4029, allocations: 11.98 kB / 1.21 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.4029, allocations: 4 kB / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.4032, allocations: 167.7 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.4033, allocations: 7.938 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.4033, allocations: 15.92 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.4035, allocations: 112.1 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4035, allocations: 4 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4036, allocations: 0 / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.4036, allocations: 0 / 1.21 GB, free: 7.547 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.000503/0.4041, allocations: 371.3 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4041, allocations: 8.625 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.4042, allocations: 34.69 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.4042, allocations: 4.938 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.4043, allocations: 164.4 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/0.4044, allocations: 34.27 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.4044, allocations: 4.375 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.4046, allocations: 46 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4046, allocations: 0 / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4046, allocations: 4 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4046, allocations: 0 / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.615e-05/0.4047, allocations: 11.98 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.4049, allocations: 165.6 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.4051, allocations: 42.61 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.4052, allocations: 20.94 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.4055, allocations: 178.2 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.4056, allocations: 38.5 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4056, allocations: 4 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002632/0.4058, allocations: 73.52 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4059, allocations: 51.41 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.406, allocations: 97.84 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.406, allocations: 25.7 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.406, allocations: 80.14 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.4061, allocations: 15.84 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.4061, allocations: 17.72 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4063, allocations: 314.8 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.4063, allocations: 7.984 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.4064, allocations: 15.98 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.082e-05/0.4065, allocations: 21.33 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4065, allocations: 3.938 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.4066, allocations: 77.55 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4066, allocations: 11.94 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4067, allocations: 0 / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4067, allocations: 0 / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.4067, allocations: 8 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4067, allocations: 0 / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.4068, allocations: 7.922 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4068, allocations: 4 kB / 1.212 GB, free: 5.344 MB / 0.9669 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.757e-05/0.4069, allocations: 105.8 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.4069, allocations: 7.938 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.4071, allocations: 73.11 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4071, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4071, allocations: 4 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4071, allocations: 0 / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.4073, allocations: 157.7 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4073, allocations: 0 / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.4073, allocations: 11.98 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4073, allocations: 3.938 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4073, allocations: 0 / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4074, allocations: 0 / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4074, allocations: 4 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.4075, allocations: 85.02 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.4076, allocations: 85.05 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.4076, allocations: 3.938 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.4077, allocations: 7.984 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.4077, allocations: 4 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.4077, allocations: 4 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.4078, allocations: 79.28 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4078, allocations: 0 / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002392/0.408, allocations: 43.92 kB / 1.212 GB, free: 4.574 MB / 0.9669 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.0006069/0.4086, allocations: 0.6475 MB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.4088, allocations: 31.91 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4088, allocations: 0 / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.4089, allocations: 16 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.4091, allocations: 7.984 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.4096, allocations: 176.7 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4099, allocations: 0.6845 MB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.41, allocations: 8.328 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.41, allocations: 7.438 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.41, allocations: 0 / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.4303, allocations: 1.972 MB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.163, allocations: 0.75 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/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) "" Variables in the reference:time,T,X_w,phi Variables in the result:T,X_inv,X_w,p,phi,time