Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MassFraction_pTphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_10_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.001663/0.001664, 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.00201/0.00201, allocations: 198 kB / 16.54 MB, free: 6.672 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.5/2.5, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.5446, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00279/0.5474, allocations: 1.643 MB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.6878, allocations: 151.5 MB / 1.167 GB, free: 8.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.6879, allocations: 0 / 1.167 GB, free: 8.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.6881, allocations: 11.81 kB / 1.167 GB, free: 8.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.6884, allocations: 47.7 kB / 1.167 GB, free: 8.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.6887, allocations: 147.4 kB / 1.167 GB, free: 8.469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.6889, allocations: 123.6 kB / 1.167 GB, free: 8.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.689, allocations: 31.55 kB / 1.167 GB, free: 8.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.69, allocations: 165 kB / 1.168 GB, free: 8.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.6901, allocations: 47.77 kB / 1.168 GB, free: 8.129 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.6902, allocations: 8 kB / 1.168 GB, free: 8.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.6905, allocations: 179.6 kB / 1.168 GB, free: 7.945 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.6906, allocations: 23.92 kB / 1.168 GB, free: 7.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.6906, allocations: 47.73 kB / 1.168 GB, free: 7.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.6909, allocations: 187.5 kB / 1.168 GB, free: 7.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6909, allocations: 0 / 1.168 GB, free: 7.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6909, allocations: 0 / 1.168 GB, free: 7.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.691, allocations: 4 kB / 1.168 GB, free: 7.688 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005639/0.6915, allocations: 439 kB / 1.168 GB, free: 7.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6916, allocations: 8.031 kB / 1.168 GB, free: 7.203 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.6916, allocations: 46.73 kB / 1.168 GB, free: 7.148 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009255/0.6925, allocations: 83.66 kB / 1.169 GB, free: 7.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.6928, allocations: 204.5 kB / 1.169 GB, free: 6.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.6928, allocations: 11.98 kB / 1.169 GB, free: 6.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.6928, allocations: 8 kB / 1.169 GB, free: 6.809 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.6932, allocations: 136.8 kB / 1.169 GB, free: 6.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.6933, allocations: 0 / 1.169 GB, free: 6.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.6933, allocations: 7.938 kB / 1.169 GB, free: 6.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6933, allocations: 0 / 1.169 GB, free: 6.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000576/0.6939, allocations: 135.9 kB / 1.169 GB, free: 6.531 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.6946, allocations: 432.1 kB / 1.169 GB, free: 6.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.6954, allocations: 247.7 kB / 1.17 GB, free: 5.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.6956, allocations: 76.8 kB / 1.17 GB, free: 5.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.6957, allocations: 0 / 1.17 GB, free: 5.711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.6957, allocations: 30.56 kB / 1.17 GB, free: 5.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.6957, allocations: 4 kB / 1.17 GB, free: 5.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0007842/0.6965, allocations: 213.4 kB / 1.17 GB, free: 5.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.6965, allocations: 59.41 kB / 1.17 GB, free: 5.383 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.6967, allocations: 146.4 kB / 1.17 GB, free: 5.227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.6967, allocations: 25.7 kB / 1.17 GB, free: 5.195 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.6967, allocations: 108 kB / 1.17 GB, free: 5.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.6968, allocations: 23.78 kB / 1.17 GB, free: 5.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.6968, allocations: 25.72 kB / 1.17 GB, free: 5.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6969, allocations: 330.7 kB / 1.171 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.6972, allocations: 55.94 kB / 1.171 GB, free: 4.645 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.6974, allocations: 74.52 kB / 1.171 GB, free: 4.562 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.6978, allocations: 116.8 kB / 1.171 GB, free: 4.445 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6979, allocations: 0 / 1.171 GB, free: 4.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004895/0.6984, allocations: 161.4 kB / 1.171 GB, free: 4.281 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6984, allocations: 8 kB / 1.171 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.6984, allocations: 0 / 1.171 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6984, allocations: 0 / 1.171 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.6986, allocations: 31.91 kB / 1.171 GB, free: 4.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.6986, allocations: 0 / 1.171 GB, free: 4.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.6988, allocations: 23.97 kB / 1.171 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.6988, allocations: 3.938 kB / 1.171 GB, free: 4.215 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 (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 8.561e-05/0.6989, allocations: 121.8 kB / 1.171 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.6989, allocations: 11.91 kB / 1.171 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.699, allocations: 16.7 kB / 1.171 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.699, allocations: 4 kB / 1.171 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.699, allocations: 0 / 1.171 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.699, allocations: 0 / 1.171 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008034/0.6998, allocations: 470.7 kB / 1.172 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6998, allocations: 0 / 1.172 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.7, allocations: 27.97 kB / 1.172 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7001, allocations: 4 kB / 1.172 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.7001, allocations: 8 kB / 1.172 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.7001, allocations: 3.938 kB / 1.172 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7001, allocations: 0 / 1.172 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.7006, allocations: 263.3 kB / 1.172 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.7007, allocations: 89 kB / 1.172 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.7007, allocations: 4 kB / 1.172 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.7009, allocations: 15.92 kB / 1.172 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.7009, allocations: 7.984 kB / 1.172 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.701, allocations: 8 kB / 1.172 GB, free: 3.082 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.1e-05/0.701, allocations: 110.3 kB / 1.172 GB, free: 2.977 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.701, allocations: 0 / 1.172 GB, free: 2.977 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000273/0.7013, allocations: 39.94 kB / 1.172 GB, free: 2.938 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 (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.0008582/0.7022, allocations: 0.802 MB / 1.173 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.7027, allocations: 131.8 kB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7027, allocations: 0 / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.703, allocations: 71.88 kB / 1.173 GB, free: 1.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.7034, allocations: 31.91 kB / 1.173 GB, free: 1.879 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.7059, allocations: 1.72 MB / 1.175 GB, free: 88 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.7061, allocations: 0.7002 MB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.7063, allocations: 32.44 kB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.7064, allocations: 27.53 kB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.7064, allocations: 7.938 kB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.726, allocations: 3.314 MB / 1.179 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.822, allocations: 15.77 kB / 1.179 GB, free: 12.07 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches