Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_9_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.003772/0.003772, allocations: 103.4 kB / 15.73 MB, free: 6.016 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.001032/0.001032, allocations: 194.3 kB / 16.67 MB, free: 5.949 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.64 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2948, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003345/0.2982, allocations: 1.268 MB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2999, allocations: 0.836 MB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.3, allocations: 0 / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.3001, allocations: 0 / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.3002, allocations: 3.938 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.301, allocations: 135.4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3011, allocations: 27.86 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.3012, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.3013, allocations: 7.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.3013, allocations: 15.92 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3014, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.3018, allocations: 163.8 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.3018, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.3019, allocations: 23.86 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.3022, allocations: 115.2 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3022, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3022, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.3023, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 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.0005998/0.3029, allocations: 355.7 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.3029, allocations: 12.03 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.303, allocations: 38.67 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.303, allocations: 8.844 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3032, allocations: 164.4 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/0.3033, allocations: 30.27 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3033, allocations: 8.375 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3035, allocations: 45.98 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3035, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3035, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3035, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3036, allocations: 11.98 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.3038, allocations: 165.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3041, allocations: 42.56 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.3041, allocations: 16.86 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.3044, allocations: 178.3 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3045, allocations: 42.5 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.3045, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002815/0.3048, allocations: 69.55 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3048, allocations: 55.41 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.3049, allocations: 97.84 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3049, allocations: 25.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.305, allocations: 80.14 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.305, allocations: 19.75 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.3051, allocations: 17.72 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3052, allocations: 318.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.3053, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.3053, allocations: 16.36 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.3054, allocations: 28.92 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3054, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001509/0.3056, allocations: 65.62 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3056, allocations: 7.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3056, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3057, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.3057, allocations: 11.98 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3057, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.3058, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.3058, allocations: 7.938 kB / 1.092 GB, free: 13.2 MB / 0.8575 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.042e-05/0.3059, allocations: 105.8 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.3059, allocations: 11.84 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.3061, allocations: 73.11 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3061, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3061, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3061, allocations: 7.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3063, allocations: 157.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3063, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.3063, allocations: 8 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3063, allocations: 3.938 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3064, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3064, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3064, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.3065, allocations: 81.11 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.3066, allocations: 84.95 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3066, allocations: 15.92 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.3067, allocations: 7.938 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3068, allocations: 4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3068, allocations: 4 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.3068, allocations: 83.27 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3068, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002455/0.3071, allocations: 31.94 kB / 1.093 GB, free: 12.42 MB / 0.8575 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.0005628/0.3076, allocations: 0.6554 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.3078, allocations: 27.92 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3078, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-05/0.3079, allocations: 16.42 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.3082, allocations: 9.547 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.3086, allocations: 172.8 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3089, allocations: 0.6806 MB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.18e-05/0.3089, allocations: 8.062 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.309, allocations: 11.44 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.309, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.3279, allocations: 1.953 MB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.667, allocations: 4 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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