Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_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.004818/0.004818, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001368/0.001368, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.976/2.976, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 64.11 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002544/0.3059, allocations: 1.503 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3072, allocations: 0.8099 MB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.3072, allocations: 4 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.3072, allocations: 3.938 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.3073, allocations: 15.86 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.3077, allocations: 123.5 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.764e-05/0.3078, allocations: 55.78 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.3079, allocations: 12 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.308, allocations: 23.92 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.308, allocations: 27.91 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3081, allocations: 7.984 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.3084, allocations: 163.8 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.3084, allocations: 11.94 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.3085, allocations: 23.86 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.3088, allocations: 147.5 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3088, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3088, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.3088, allocations: 4 kB / 1.223 GB, free: 11.42 MB / 0.9825 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.0005568/0.3093, allocations: 402.9 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3094, allocations: 8.031 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3094, allocations: 42.75 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.3095, allocations: 4.922 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3096, allocations: 172.3 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3096, allocations: 384 / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.3096, allocations: 4.375 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.3099, allocations: 78.16 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3099, allocations: 11.91 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3099, allocations: 7.938 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3099, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.3103, allocations: 67.92 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.3106, allocations: 284.7 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.3109, allocations: 58.47 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.311, allocations: 36.92 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.3112, allocations: 93.09 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3113, allocations: 38.55 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3113, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005612/0.3118, allocations: 125.5 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3119, allocations: 59.41 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.312, allocations: 125.7 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.312, allocations: 25.7 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.3121, allocations: 88.14 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.3121, allocations: 3.953 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3122, allocations: 17.72 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3123, allocations: 322.8 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3125, allocations: 35.97 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3126, allocations: 31.95 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.3129, allocations: 68.78 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3129, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003489/0.3133, allocations: 101.6 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3133, allocations: 4 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3133, allocations: 4 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3134, allocations: 3.938 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3135, allocations: 15.98 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3135, allocations: 0 / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.3136, allocations: 19.97 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3136, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 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.821e-05/0.3137, allocations: 113.8 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.3137, allocations: 7.953 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.3141, allocations: 109.5 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3141, allocations: 4 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3141, allocations: 0 / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3141, allocations: 0 / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3143, allocations: 174 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3143, allocations: 0 / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3145, allocations: 19.92 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3145, allocations: 0 / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3145, allocations: 0 / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3145, allocations: 4 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3145, allocations: 0 / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.3149, allocations: 211.3 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.315, allocations: 81.06 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.315, allocations: 0 / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3151, allocations: 15.98 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.3152, allocations: 11.98 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.3152, allocations: 3.938 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.3152, allocations: 91.27 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3152, allocations: 0 / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002736/0.3155, allocations: 31.88 kB / 1.226 GB, free: 7.879 MB / 0.9825 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.0008546/0.3164, allocations: 0.7736 MB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.3168, allocations: 67.92 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3168, allocations: 0 / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.3169, allocations: 43.89 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3173, allocations: 4 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.3193, allocations: 1.432 MB / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3196, allocations: 0.6807 MB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.3197, allocations: 4 kB / 1.229 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.3197, allocations: 19.42 kB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3197, allocations: 0 / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.3428, allocations: 2.464 MB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.453, allocations: 2.906 kB / 1.231 GB, free: 2.359 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches