Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_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.0046/0.0046, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001292/0.001292, allocations: 204 kB / 16.68 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 60.12 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00288/0.3164, allocations: 1.648 MB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.763/1.079, allocations: 151.5 MB / 1.391 GB, free: 4.078 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/1.08, allocations: 1.25 kB / 1.391 GB, free: 4.078 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/1.08, allocations: 25.05 kB / 1.391 GB, free: 4.055 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002452/1.08, allocations: 37.03 kB / 1.391 GB, free: 4.027 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/1.08, allocations: 145.1 kB / 1.391 GB, free: 3.922 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/1.081, allocations: 126.2 kB / 1.391 GB, free: 3.848 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/1.081, allocations: 28.45 kB / 1.391 GB, free: 3.828 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/1.082, allocations: 162 kB / 1.392 GB, free: 3.77 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/1.082, allocations: 45.66 kB / 1.392 GB, free: 3.738 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/1.082, allocations: 6.531 kB / 1.392 GB, free: 3.738 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/1.083, allocations: 185.5 kB / 1.392 GB, free: 3.645 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/1.083, allocations: 25.05 kB / 1.392 GB, free: 3.625 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/1.083, allocations: 44.98 kB / 1.392 GB, free: 3.594 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/1.083, allocations: 192.8 kB / 1.392 GB, free: 3.48 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.083, allocations: 0 / 1.392 GB, free: 3.48 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.492e-06/1.083, allocations: 0 / 1.392 GB, free: 3.48 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.2e-06/1.083, allocations: 1.094 kB / 1.392 GB, free: 3.48 MB / 1.092 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.0006745/1.084, allocations: 450.5 kB / 1.392 GB, free: 3.039 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/1.084, allocations: 9.719 kB / 1.392 GB, free: 3.039 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/1.084, allocations: 41.56 kB / 1.392 GB, free: 2.992 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/1.085, allocations: 77.08 kB / 1.393 GB, free: 2.961 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/1.085, allocations: 212.2 kB / 1.393 GB, free: 2.73 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.085, allocations: 11.66 kB / 1.393 GB, free: 2.723 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/1.085, allocations: 9.344 kB / 1.393 GB, free: 2.719 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/1.086, allocations: 136.6 kB / 1.393 GB, free: 2.625 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.086, allocations: 0 / 1.393 GB, free: 2.625 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/1.086, allocations: 1.375 kB / 1.393 GB, free: 2.625 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.086, allocations: 5.344 kB / 1.393 GB, free: 2.621 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/1.086, allocations: 143.8 kB / 1.393 GB, free: 2.551 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/1.087, allocations: 411.6 kB / 1.393 GB, free: 2.16 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/1.088, allocations: 252.5 kB / 1.394 GB, free: 1.965 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/1.088, allocations: 74.73 kB / 1.394 GB, free: 1.926 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/1.088, allocations: 5.562 kB / 1.394 GB, free: 1.922 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/1.088, allocations: 31.75 kB / 1.394 GB, free: 1.883 MB / 1.092 GB Notification: Performance of pre-optimization done (n=8): time 3.256e-06/1.088, allocations: 3.984 kB / 1.394 GB, free: 1.879 MB / 1.092 GB Notification: Performance of matching and sorting (n=8): time 0.0008714/1.089, allocations: 217.2 kB / 1.394 GB, free: 1.758 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/1.089, allocations: 56.69 kB / 1.394 GB, free: 1.691 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/1.089, allocations: 146.6 kB / 1.394 GB, free: 1.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.089, allocations: 30.89 kB / 1.394 GB, free: 1.535 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/1.089, allocations: 100.7 kB / 1.394 GB, free: 1.438 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/1.089, allocations: 31.66 kB / 1.394 GB, free: 1.41 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/1.089, allocations: 24.55 kB / 1.394 GB, free: 1.387 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.09, allocations: 329.6 kB / 1.395 GB, free: 1.059 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/1.09, allocations: 48.17 kB / 1.395 GB, free: 1.039 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/1.09, allocations: 74.67 kB / 1.395 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/1.091, allocations: 125.7 kB / 1.395 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.091, allocations: 1.469 kB / 1.395 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005309/1.091, allocations: 160.2 kB / 1.395 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.091, allocations: 6.094 kB / 1.395 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.091, allocations: 0 / 1.395 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.091, allocations: 0 / 1.395 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/1.091, allocations: 26.75 kB / 1.395 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.091, allocations: 5.203 kB / 1.395 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/1.092, allocations: 33.56 kB / 1.395 GB, free: 0.793 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/1.092, allocations: 3.312 kB / 1.395 GB, free: 0.793 MB / 1.092 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 0.0001168/1.092, allocations: 122.6 kB / 1.395 GB, free: 0.668 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/1.092, allocations: 9.297 kB / 1.395 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/1.092, allocations: 16.56 kB / 1.395 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.092, allocations: 0.7812 kB / 1.395 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.092, allocations: 5.062 kB / 1.395 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.092, allocations: 0 / 1.395 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/1.093, allocations: 465.8 kB / 1.396 GB, free: 236 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.093, allocations: 0.875 kB / 1.396 GB, free: 236 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/1.093, allocations: 35.5 kB / 1.396 GB, free: 220 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.093, allocations: 0 / 1.396 GB, free: 220 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.093, allocations: 5.047 kB / 1.396 GB, free: 216 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.093, allocations: 5.031 kB / 1.396 GB, free: 212 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.093, allocations: 0 / 1.396 GB, free: 212 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/1.094, allocations: 260.4 kB / 1.396 GB, free: 8 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/1.094, allocations: 88.34 kB / 1.396 GB, free: 15.91 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/1.094, allocations: 1.062 kB / 1.396 GB, free: 15.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/1.094, allocations: 17.33 kB / 1.396 GB, free: 15.9 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/1.094, allocations: 11.14 kB / 1.396 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/1.094, allocations: 6.125 kB / 1.396 GB, free: 15.89 MB / 1.107 GB Notification: Performance of sorting global known variables: time 8.661e-05/1.094, allocations: 112.5 kB / 1.396 GB, free: 15.8 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.094, allocations: 0 / 1.396 GB, free: 15.8 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002851/1.094, allocations: 35.98 kB / 1.396 GB, free: 15.79 MB / 1.107 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.0009851/1.095, allocations: 0.807 MB / 1.397 GB, free: 15.05 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005425/1.096, allocations: 129.8 kB / 1.397 GB, free: 14.99 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.096, allocations: 0 / 1.397 GB, free: 14.99 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/1.096, allocations: 64.89 kB / 1.397 GB, free: 14.96 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/1.097, allocations: 42.03 kB / 1.397 GB, free: 14.93 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/1.099, allocations: 1.731 MB / 1.399 GB, free: 13.46 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/1.1, allocations: 0.7012 MB / 1.4 GB, free: 12.75 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000145/1.1, allocations: 35.55 kB / 1.4 GB, free: 12.73 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/1.1, allocations: 33.67 kB / 1.4 GB, free: 12.7 MB / 1.107 GB Notification: Performance of SimCode: time 3e-07/1.1, allocations: 1.531 kB / 1.4 GB, free: 12.7 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/1.125, allocations: 3.363 MB / 1.403 GB, free: 11.02 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.886, allocations: 14.12 kB / 1.403 GB, free: 11.01 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches