Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_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.007996/0.007997, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.002167/0.002167, allocations: 202 kB / 16.68 MB, free: 5.445 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.117 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.924/2.924, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.11 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.301, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.0029/0.304, allocations: 1.653 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7446/1.049, allocations: 151.5 MB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/1.049, allocations: 1.125 kB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/1.049, allocations: 14.7 kB / 1.37 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002708/1.049, allocations: 48.52 kB / 1.37 GB, free: 12.9 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/1.05, allocations: 144.7 kB / 1.37 GB, free: 12.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/1.05, allocations: 124.4 kB / 1.37 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/1.05, allocations: 28.11 kB / 1.37 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/1.052, allocations: 163.4 kB / 1.37 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/1.052, allocations: 48.73 kB / 1.37 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/1.052, allocations: 10.73 kB / 1.37 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/1.052, allocations: 179.5 kB / 1.37 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/1.052, allocations: 19.58 kB / 1.37 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/1.052, allocations: 50.52 kB / 1.371 GB, free: 12.6 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/1.053, allocations: 189.4 kB / 1.371 GB, free: 12.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.053, allocations: 3.938 kB / 1.371 GB, free: 12.53 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.053, allocations: 0 / 1.371 GB, free: 12.53 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.053, allocations: 5.312 kB / 1.371 GB, free: 12.53 MB / 1.076 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.0007318/1.054, allocations: 452.1 kB / 1.371 GB, free: 12.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.054, allocations: 9.469 kB / 1.371 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/1.054, allocations: 40.14 kB / 1.371 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009597/1.055, allocations: 81.12 kB / 1.371 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/1.055, allocations: 210.7 kB / 1.371 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/1.055, allocations: 7.109 kB / 1.371 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/1.055, allocations: 7.906 kB / 1.372 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/1.055, allocations: 138.7 kB / 1.372 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.055, allocations: 0 / 1.372 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/1.055, allocations: 5.5 kB / 1.372 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/1.055, allocations: 9.047 kB / 1.372 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/1.056, allocations: 132.6 kB / 1.372 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/1.057, allocations: 421.3 kB / 1.372 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/1.058, allocations: 249.3 kB / 1.372 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/1.058, allocations: 79.97 kB / 1.372 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.058, allocations: 1.5 kB / 1.372 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.058, allocations: 30.56 kB / 1.373 GB, free: 11.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/1.058, allocations: 1.25 kB / 1.373 GB, free: 11.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0008586/1.059, allocations: 217.7 kB / 1.373 GB, free: 11.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/1.059, allocations: 52.75 kB / 1.373 GB, free: 11.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/1.059, allocations: 148.8 kB / 1.373 GB, free: 10.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.059, allocations: 27.02 kB / 1.373 GB, free: 10.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/1.059, allocations: 104.2 kB / 1.373 GB, free: 10.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/1.059, allocations: 31.23 kB / 1.373 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/1.059, allocations: 24.88 kB / 1.373 GB, free: 10.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.059, allocations: 323.8 kB / 1.373 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/1.06, allocations: 51.78 kB / 1.373 GB, free: 10.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/1.06, allocations: 84.53 kB / 1.374 GB, free: 10.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/1.06, allocations: 125.3 kB / 1.374 GB, free: 10.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.06, allocations: 0 / 1.374 GB, free: 10.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005357/1.061, allocations: 153.2 kB / 1.374 GB, free: 10.26 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.061, allocations: 7.906 kB / 1.374 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.061, allocations: 0.5469 kB / 1.374 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.061, allocations: 5 kB / 1.374 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/1.061, allocations: 30.23 kB / 1.374 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.061, allocations: 1.438 kB / 1.374 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/1.061, allocations: 23.52 kB / 1.374 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/1.061, allocations: 6.688 kB / 1.374 GB, free: 10.24 MB / 1.076 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.0001094/1.062, allocations: 126.2 kB / 1.374 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/1.062, allocations: 9.547 kB / 1.374 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/1.062, allocations: 25.41 kB / 1.374 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.062, allocations: 1.125 kB / 1.374 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.062, allocations: 0 / 1.374 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.062, allocations: 1.625 kB / 1.374 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/1.063, allocations: 464 kB / 1.374 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.063, allocations: 1.125 kB / 1.374 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/1.063, allocations: 31.75 kB / 1.375 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.063, allocations: 0 / 1.375 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/1.063, allocations: 7.656 kB / 1.375 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.063, allocations: 3.938 kB / 1.375 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.063, allocations: 1.281 kB / 1.375 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/1.063, allocations: 251.9 kB / 1.375 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/1.064, allocations: 87.58 kB / 1.375 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/1.064, allocations: 6.484 kB / 1.375 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/1.064, allocations: 25.14 kB / 1.375 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/1.064, allocations: 5.953 kB / 1.375 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/1.064, allocations: 4.188 kB / 1.375 GB, free: 9.445 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.551e-05/1.064, allocations: 115 kB / 1.375 GB, free: 9.359 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.064, allocations: 0 / 1.375 GB, free: 9.359 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002824/1.064, allocations: 27.41 kB / 1.375 GB, free: 9.355 MB / 1.076 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.0009617/1.065, allocations: 0.8154 MB / 1.376 GB, free: 8.648 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005357/1.066, allocations: 126.9 kB / 1.376 GB, free: 8.621 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.066, allocations: 0 / 1.376 GB, free: 8.621 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/1.066, allocations: 65.3 kB / 1.376 GB, free: 8.609 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/1.066, allocations: 35.38 kB / 1.376 GB, free: 8.594 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/1.069, allocations: 1.743 MB / 1.378 GB, free: 7.238 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.07, allocations: 0.6992 MB / 1.378 GB, free: 6.543 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001484/1.07, allocations: 31.73 kB / 1.378 GB, free: 6.531 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/1.07, allocations: 30.72 kB / 1.378 GB, free: 6.512 MB / 1.076 GB Notification: Performance of SimCode: time 2.61e-07/1.07, allocations: 0 / 1.378 GB, free: 6.512 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/1.095, allocations: 3.366 MB / 1.382 GB, free: 5.078 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/9.145, allocations: 9.219 kB / 1.382 GB, free: 5.07 MB / 1.076 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches