Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.001739/0.001739, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002194/0.002194, allocations: 189 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.193/2.193, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.013/3.013, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 63.53 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3419, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003297/0.3452, allocations: 1.552 MB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3466, allocations: 0.8027 MB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.3466, allocations: 4 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/0.3467, allocations: 3.938 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.3468, allocations: 11.86 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.3474, allocations: 111.6 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.634e-05/0.3475, allocations: 55.78 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3476, allocations: 19.98 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.3476, allocations: 19.92 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.3477, allocations: 27.86 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3477, allocations: 4 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.3481, allocations: 175.7 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.3481, allocations: 7.984 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.3481, allocations: 23.86 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.3485, allocations: 151.9 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3485, allocations: 4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3485, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3485, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005953/0.3491, allocations: 391.3 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3492, allocations: 12.62 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.3492, allocations: 34.75 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.3492, allocations: 12.78 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3494, allocations: 168.3 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3494, allocations: 8.375 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3494, allocations: 8.359 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3497, allocations: 74.2 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3497, allocations: 3.938 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3497, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3497, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.35, allocations: 71.86 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.3506, allocations: 288.8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3508, allocations: 58.53 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.3509, allocations: 40.92 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.3511, allocations: 89.09 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3512, allocations: 34.5 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.3512, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006123/0.3518, allocations: 137.5 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3519, allocations: 51.41 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.352, allocations: 121.6 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.352, allocations: 33.69 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.3521, allocations: 84.14 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.3521, allocations: 15.81 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.3521, allocations: 17.66 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3523, allocations: 326.8 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3524, allocations: 27.97 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3525, allocations: 31.95 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.3528, allocations: 72.73 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3528, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003363/0.3532, allocations: 97.61 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3532, allocations: 8 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3532, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3532, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3533, allocations: 19.98 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3534, allocations: 0 / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.3534, allocations: 7.984 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3535, allocations: 4 kB / 1.058 GB, free: 3.074 MB / 0.8106 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 (3): * Single equations (assignments): 3 * 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 7.806e-05/0.3535, allocations: 117.8 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.3536, allocations: 7.906 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.3539, allocations: 113.5 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.354, allocations: 384 / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.354, allocations: 0 / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.354, allocations: 0 / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3541, allocations: 173.6 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3542, allocations: 4 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.3543, allocations: 11.98 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3543, allocations: 7.984 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3543, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3543, allocations: 8 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3543, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.3546, allocations: 203.2 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3547, allocations: 85.05 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3547, allocations: 4 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3548, allocations: 7.984 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.3549, allocations: 7.984 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3549, allocations: 3.938 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.355, allocations: 95.27 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.355, allocations: 0 / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002796/0.3552, allocations: 32 kB / 1.058 GB, free: 2.105 MB / 0.8106 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 (3): * Single equations (assignments): 3 * 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.0007224/0.356, allocations: 0.7669 MB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.3563, allocations: 71.92 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3563, allocations: 0 / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3565, allocations: 35.95 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3568, allocations: 16.5 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3586, allocations: 1.434 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.3589, allocations: 0.6846 MB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.3589, allocations: 4 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.359, allocations: 15.44 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.359, allocations: 0 / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/0.638, allocations: 2.241 MB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003741/0.6384, allocations: 207.3 kB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.181, allocations: 0 / 1.064 GB, free: 12.58 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches