Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_10_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.004515/0.004515, allocations: 102.9 kB / 15.74 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.001113/0.001113, allocations: 201.1 kB / 16.68 MB, free: 5.965 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2912, allocations: 151.6 MB / 1.166 GB, free: 7.457 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002568/0.2938, allocations: 1.496 MB / 1.168 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.295, allocations: 0.803 MB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.295, allocations: 3.938 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.295, allocations: 3.984 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.2951, allocations: 15.86 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2955, allocations: 127.4 kB / 1.169 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.2956, allocations: 51.8 kB / 1.169 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.2957, allocations: 15.98 kB / 1.169 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.2958, allocations: 19.92 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.2958, allocations: 27.91 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.2958, allocations: 4 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.2962, allocations: 167.7 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.2962, allocations: 19.92 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.2962, allocations: 19.91 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.2965, allocations: 143.8 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2965, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2965, allocations: 4 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2965, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 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.0005169/0.297, allocations: 399 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2971, allocations: 8.031 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.2971, allocations: 34.75 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.2972, allocations: 8.828 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2973, allocations: 184.2 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2973, allocations: 4.375 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2973, allocations: 8.375 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.2976, allocations: 70.22 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2976, allocations: 3.938 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.2976, allocations: 3.938 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2976, allocations: 0 / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2979, allocations: 75.92 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.2983, allocations: 284.7 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.2985, allocations: 58.53 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.2986, allocations: 36.92 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.2988, allocations: 93.09 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2988, allocations: 30.56 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2988, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005338/0.2994, allocations: 137.5 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.2994, allocations: 55.41 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.2995, allocations: 117.8 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2995, allocations: 25.7 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.2996, allocations: 100.1 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2996, allocations: 7.891 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.2996, allocations: 13.72 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.2997, allocations: 326.8 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.2999, allocations: 31.97 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3, allocations: 27.97 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.3003, allocations: 68.78 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3003, allocations: 4 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.3006, allocations: 101.5 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3007, allocations: 7.984 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3007, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3007, allocations: 4 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3008, allocations: 11.98 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3008, allocations: 4 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.3009, allocations: 15.92 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3009, allocations: 0 / 1.171 GB, free: 1.953 MB / 0.92 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.383e-05/0.301, allocations: 119.8 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.301, allocations: 7.953 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.3014, allocations: 113.4 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3014, allocations: 4 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3014, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3014, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.3016, allocations: 173.7 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3016, allocations: 0 / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.3017, allocations: 19.97 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3017, allocations: 0 / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.3017, allocations: 0 / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3017, allocations: 0 / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3017, allocations: 7.984 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.3021, allocations: 207.3 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3021, allocations: 81.06 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3021, allocations: 0 / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3022, allocations: 15.98 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3023, allocations: 7.984 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3023, allocations: 4 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.3023, allocations: 87.28 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3024, allocations: 0 / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002626/0.3026, allocations: 35.86 kB / 1.172 GB, free: 0.9805 MB / 0.92 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.0006778/0.3033, allocations: 0.7595 MB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.3037, allocations: 79.89 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.3037, allocations: 0 / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.3038, allocations: 31.97 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.3041, allocations: 19.92 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.3058, allocations: 1.429 MB / 1.174 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.306, allocations: 0.6846 MB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.3061, allocations: 4 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.3061, allocations: 19.44 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.3061, allocations: 4 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.3253, allocations: 2.45 MB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/7.909, allocations: 6.359 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches