Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.006964/0.006964, allocations: 103 kB / 15.73 MB, free: 6.055 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.001626/0.001627, allocations: 191.4 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.215/2.215, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.772, allocations: 140.4 MB / 1.087 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002746/0.7748, allocations: 1.644 MB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1816/0.9564, allocations: 151.6 MB / 1.237 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.9566, allocations: 1.25 kB / 1.237 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.9568, allocations: 16.86 kB / 1.237 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.9571, allocations: 49.17 kB / 1.237 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.9576, allocations: 140.8 kB / 1.237 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.9579, allocations: 121.3 kB / 1.237 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.958, allocations: 32.14 kB / 1.237 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.9593, allocations: 174.2 kB / 1.238 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.9594, allocations: 40.69 kB / 1.238 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.9594, allocations: 11.12 kB / 1.238 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.9598, allocations: 181.1 kB / 1.238 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.9599, allocations: 21.52 kB / 1.238 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.96, allocations: 44.31 kB / 1.238 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.9604, allocations: 193.3 kB / 1.238 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9604, allocations: 3.984 kB / 1.238 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9604, allocations: 1.281 kB / 1.238 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.9604, allocations: 0 / 1.238 GB, free: 1.402 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006781/0.9611, allocations: 451.5 kB / 1.238 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.9611, allocations: 8.938 kB / 1.238 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.9612, allocations: 37.12 kB / 1.239 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009391/0.9621, allocations: 81.28 kB / 1.239 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.9624, allocations: 210.6 kB / 1.239 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.9624, allocations: 3.469 kB / 1.239 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.9624, allocations: 8.469 kB / 1.239 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.9629, allocations: 142.8 kB / 1.239 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9629, allocations: 5.281 kB / 1.239 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.963, allocations: 7.938 kB / 1.239 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.963, allocations: 2.438 kB / 1.239 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.9636, allocations: 131.2 kB / 1.239 GB, free: 492 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.9644, allocations: 419 kB / 1.239 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/0.9651, allocations: 257.1 kB / 1.24 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.9654, allocations: 74.77 kB / 1.24 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.9654, allocations: 9.062 kB / 1.24 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.9655, allocations: 31.69 kB / 1.24 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.9655, allocations: 0 / 1.24 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0008193/0.9663, allocations: 221.5 kB / 1.24 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.9664, allocations: 52.72 kB / 1.24 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.9665, allocations: 149.4 kB / 1.24 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.9665, allocations: 27.08 kB / 1.24 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.9666, allocations: 96.27 kB / 1.24 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.9666, allocations: 35.81 kB / 1.24 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.9667, allocations: 24.58 kB / 1.24 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9668, allocations: 329.5 kB / 1.241 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.967, allocations: 47.45 kB / 1.241 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.9673, allocations: 79.52 kB / 1.241 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.9677, allocations: 121.2 kB / 1.241 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9678, allocations: 0 / 1.241 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005133/0.9683, allocations: 161 kB / 1.241 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9683, allocations: 5.5 kB / 1.241 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9683, allocations: 0 / 1.241 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.9683, allocations: 0 / 1.241 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.9686, allocations: 35.2 kB / 1.241 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.9686, allocations: 0 / 1.241 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.9687, allocations: 18.98 kB / 1.241 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.9688, allocations: 5.312 kB / 1.241 GB, free: 14.71 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 (8): * Single equations (assignments): 8 * 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 9.624e-05/0.9689, allocations: 131.2 kB / 1.241 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.9689, allocations: 11.94 kB / 1.241 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.969, allocations: 19.47 kB / 1.241 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.969, allocations: 1.375 kB / 1.241 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.969, allocations: 0 / 1.241 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.969, allocations: 5.312 kB / 1.241 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008373/0.9698, allocations: 457.2 kB / 1.242 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9699, allocations: 1.375 kB / 1.242 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.9701, allocations: 29.78 kB / 1.242 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.9701, allocations: 1.375 kB / 1.242 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.9701, allocations: 3.984 kB / 1.242 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.9701, allocations: 5.312 kB / 1.242 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9701, allocations: 3.938 kB / 1.242 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.9707, allocations: 256.6 kB / 1.242 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.9707, allocations: 87.89 kB / 1.242 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.9708, allocations: 1.312 kB / 1.242 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.971, allocations: 24.3 kB / 1.242 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.971, allocations: 6.766 kB / 1.242 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.971, allocations: 2.438 kB / 1.242 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.754e-05/0.9711, allocations: 116.3 kB / 1.242 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9711, allocations: 0 / 1.242 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003036/0.9714, allocations: 28.19 kB / 1.242 GB, free: 13.71 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 (8): * Single equations (assignments): 8 * 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.0009717/0.9724, allocations: 0.8071 MB / 1.243 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005634/0.973, allocations: 133.5 kB / 1.243 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.973, allocations: 0 / 1.243 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.9733, allocations: 65.59 kB / 1.243 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.9737, allocations: 34.02 kB / 1.243 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.9765, allocations: 1.728 MB / 1.245 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.9767, allocations: 0.7031 MB / 1.246 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.9769, allocations: 33.62 kB / 1.246 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.977, allocations: 29.52 kB / 1.246 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.977, allocations: 4 kB / 1.246 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.9973, allocations: 3.351 MB / 1.249 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/8.256, allocations: 14.27 kB / 1.249 GB, free: 7.91 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_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_MassFraction_pTphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches