Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_9_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.004634/0.004635, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.0009996/0.0009997, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.343/2.343, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.88 kB / 0.9504 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2666, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002924/0.2696, allocations: 1.486 MB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.271, allocations: 0.8043 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.2711, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/0.2712, allocations: 3.938 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.2713, allocations: 7.875 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.2719, allocations: 135.4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.272, allocations: 51.84 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2721, allocations: 19.98 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.2722, allocations: 15.94 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.2723, allocations: 31.84 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2723, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.2727, allocations: 167.8 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.2727, allocations: 7.984 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.2727, allocations: 23.88 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.2731, allocations: 155.7 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2731, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2731, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2731, allocations: 4 kB / 1.09 GB, free: 15.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000607/0.2737, allocations: 402.9 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2738, allocations: 12.02 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.2738, allocations: 34.75 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.2739, allocations: 8.891 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.274, allocations: 172.3 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.274, allocations: 4.375 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.274, allocations: 8.375 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.2743, allocations: 74.19 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2743, allocations: 7.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2743, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2743, allocations: 3.984 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.2747, allocations: 63.92 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.2751, allocations: 292.7 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.2753, allocations: 58.48 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.2755, allocations: 36.91 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.2757, allocations: 93.09 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.2757, allocations: 34.56 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2757, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005682/0.2763, allocations: 137.5 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.2763, allocations: 51.41 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.2764, allocations: 121.8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2765, allocations: 29.64 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.2765, allocations: 84.14 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2765, allocations: 23.83 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.2766, allocations: 13.72 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2767, allocations: 318.8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2769, allocations: 35.95 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.277, allocations: 31.97 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.2773, allocations: 64.78 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2773, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003351/0.2777, allocations: 101.6 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2777, allocations: 6.344 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2777, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2777, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2778, allocations: 19.97 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2778, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.2779, allocations: 15.98 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2779, allocations: 0 / 1.093 GB, free: 12.55 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 (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.477e-05/0.278, allocations: 117.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.2781, allocations: 3.953 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.2784, allocations: 113.5 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2785, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2785, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2785, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.2786, allocations: 173.6 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2787, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.2788, allocations: 15.92 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2788, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2788, allocations: 3.984 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2788, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2788, allocations: 4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.2792, allocations: 199.7 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.2792, allocations: 81.11 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2792, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2794, allocations: 19.97 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.2794, allocations: 3.938 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.2794, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.175e-05/0.2795, allocations: 99.27 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2795, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002844/0.2798, allocations: 27.88 kB / 1.093 GB, free: 11.59 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 (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.0007682/0.2806, allocations: 0.763 MB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.2809, allocations: 79.78 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.281, allocations: 4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.2811, allocations: 35.97 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.2814, allocations: 8 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.2832, allocations: 1.43 MB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.2834, allocations: 0.6807 MB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.2835, allocations: 3.984 kB / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.2835, allocations: 23.44 kB / 1.096 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2835, allocations: 3.938 kB / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.3007, allocations: 2.447 MB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.389, allocations: 5.156 kB / 1.099 GB, free: 6.078 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches