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.001063/0.001063, allocations: 108 kB / 15.6 MB, free: 132 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.001079/0.001079, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.531/2.531, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.88 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5425, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002435/0.5449, allocations: 1.494 MB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.546, allocations: 0.8069 MB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.5461, allocations: 0 / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.5461, allocations: 3.938 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.5462, allocations: 11.92 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.5466, allocations: 135.3 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.476e-05/0.5467, allocations: 51.92 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.5468, allocations: 16 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.5468, allocations: 19.92 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.5469, allocations: 27.81 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.5469, allocations: 4 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.5472, allocations: 167.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.5472, allocations: 15.91 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.5473, allocations: 23.86 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.5475, allocations: 142 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5475, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5475, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5475, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 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.0004991/0.5481, allocations: 395.2 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.5481, allocations: 12.03 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.5481, allocations: 34.75 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.5482, allocations: 4.844 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5483, allocations: 180.2 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5483, allocations: 4.375 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.5483, allocations: 8.375 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.5486, allocations: 70.22 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5486, allocations: 7.922 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5486, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5486, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.5489, allocations: 67.92 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.5492, allocations: 288.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.5494, allocations: 50.53 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.5496, allocations: 44.92 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.5498, allocations: 89.09 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.5498, allocations: 30.56 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.5498, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005284/0.5504, allocations: 141.4 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.5504, allocations: 51.41 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.5505, allocations: 113.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.5505, allocations: 29.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.5505, allocations: 88.12 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.5506, allocations: 11.84 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.5506, allocations: 13.72 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.5507, allocations: 334.7 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.5509, allocations: 27.97 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.551, allocations: 35.89 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.5513, allocations: 68.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5513, allocations: 3.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000318/0.5516, allocations: 101.5 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5516, allocations: 10.03 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5516, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.5517, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.5518, allocations: 11.98 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.5518, allocations: 8 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.5519, allocations: 7.984 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.5519, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 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 6.245e-05/0.552, allocations: 113.8 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.552, allocations: 11.89 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.5524, allocations: 113.5 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5524, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5524, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5524, allocations: 384 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.5525, allocations: 177.6 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5526, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.5527, allocations: 15.98 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5527, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.5527, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5527, allocations: 8 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5527, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.553, allocations: 199.3 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.5531, allocations: 85.02 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.5531, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.5532, allocations: 11.98 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.5533, allocations: 7.984 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.5533, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.5533, allocations: 87.28 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5533, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002691/0.5536, allocations: 43.92 kB / 1.023 GB, free: 12.04 MB / 0.7794 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.0006544/0.5543, allocations: 0.7591 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.5546, allocations: 75.86 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5546, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.5548, allocations: 35.95 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.5551, allocations: 15.94 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.5567, allocations: 1.418 MB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.557, allocations: 0.6885 MB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.557, allocations: 3.984 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.557, allocations: 19.44 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.557, allocations: 0 / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.5735, allocations: 2.417 MB / 1.029 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.53, allocations: 15.52 kB / 1.029 GB, free: 6.543 MB / 0.7794 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