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.001376/0.001376, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.29/2.29, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.88 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5643/0.5656, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001931/0.5676, allocations: 1.261 MB / 0.951 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000963/0.5685, allocations: 0.8318 MB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.5686, allocations: 1.156 kB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.5686, allocations: 0 / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.5686, allocations: 5.5 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.569, allocations: 132 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.5691, allocations: 23.61 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.5692, allocations: 10.3 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.5692, allocations: 10.53 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.5693, allocations: 8.266 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.5693, allocations: 1.531 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.5696, allocations: 169.7 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.5696, allocations: 1.375 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.5696, allocations: 19.61 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.5699, allocations: 112.5 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5699, allocations: 1.25 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5699, allocations: 0 / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5699, allocations: 4 kB / 0.9522 GB, free: 7.266 MB / 0.7169 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.000351/0.5702, allocations: 363 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5703, allocations: 9.125 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/0.5703, allocations: 31.69 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.5703, allocations: 3.812 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.62e-05/0.5704, allocations: 169.4 kB / 0.9528 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.5705, allocations: 33.2 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.5705, allocations: 1.906 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.5706, allocations: 54.03 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5706, allocations: 1.344 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5707, allocations: 4 kB / 0.9529 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5707, allocations: 1.375 kB / 0.9529 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.5708, allocations: 17.48 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.5709, allocations: 167.3 kB / 0.9531 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.5711, allocations: 41.64 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.5711, allocations: 22.91 kB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.5714, allocations: 182.5 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.5714, allocations: 39.56 kB / 0.9533 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.5714, allocations: 0 / 0.9533 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002265/0.5716, allocations: 68.14 kB / 0.9534 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.5717, allocations: 56.81 kB / 0.9535 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/0.5717, allocations: 97.47 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.5717, allocations: 25.7 kB / 0.9536 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.551e-05/0.5717, allocations: 85.58 kB / 0.9537 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.5718, allocations: 12.81 kB / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.5718, allocations: 13.41 kB / 0.9537 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.5718, allocations: 316 kB / 0.954 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.5719, allocations: 13.52 kB / 0.954 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.5719, allocations: 14.73 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.572, allocations: 25.45 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.572, allocations: 0 / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001188/0.5722, allocations: 59.61 kB / 0.9541 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5722, allocations: 10.75 kB / 0.9541 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5722, allocations: 0 / 0.9541 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5722, allocations: 0 / 0.9541 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.5723, allocations: 10.91 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5723, allocations: 1.25 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.5723, allocations: 5.109 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.5723, allocations: 1.188 kB / 0.9541 GB, free: 5.266 MB / 0.7169 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 4.343e-05/0.5724, allocations: 111.1 kB / 0.9542 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.5724, allocations: 6.312 kB / 0.9542 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.5725, allocations: 75.12 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.5726, allocations: 5.344 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5726, allocations: 0 / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5726, allocations: 0 / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.528e-05/0.5726, allocations: 159.6 kB / 0.9545 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5726, allocations: 0 / 0.9545 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.5727, allocations: 10.2 kB / 0.9545 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5727, allocations: 5.125 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.5727, allocations: 0 / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5727, allocations: 1.219 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5727, allocations: 0 / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.5729, allocations: 88.95 kB / 0.9546 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.5729, allocations: 87.42 kB / 0.9546 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.5729, allocations: 9.344 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.725e-05/0.573, allocations: 5.422 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.573, allocations: 9.438 kB / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.573, allocations: 1.469 kB / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.65e-05/0.573, allocations: 78.22 kB / 0.9547 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.573, allocations: 4 kB / 0.9547 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002237/0.5733, allocations: 39.95 kB / 0.9548 GB, free: 4.566 MB / 0.7169 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.0003528/0.5736, allocations: 0.6523 MB / 0.9554 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.5738, allocations: 33.44 kB / 0.9554 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5738, allocations: 0 / 0.9554 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.5738, allocations: 18.28 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.574, allocations: 8.266 kB / 0.9555 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.5744, allocations: 168.3 kB / 0.9556 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.373e-05/0.5745, allocations: 0.6808 MB / 0.9563 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.5745, allocations: 7.25 kB / 0.9563 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.5745, allocations: 9.562 kB / 0.9563 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5746, allocations: 0 / 0.9563 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.5914, allocations: 1.917 MB / 0.9582 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.753, allocations: 11.28 kB / 0.9582 GB, free: 1.973 MB / 0.7169 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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_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.csv","/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) Reference file matches