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.00133/0.00133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001342/0.001342, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.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.091/2.091, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5229/0.5242, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002159/0.5264, allocations: 1.695 MB / 0.9509 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.6571, allocations: 149.4 MB / 1.097 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.6573, allocations: 0 / 1.097 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.6574, allocations: 11.86 kB / 1.097 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.6576, allocations: 51.77 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.658, allocations: 119.6 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.6582, allocations: 119.6 kB / 1.097 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.6583, allocations: 31.64 kB / 1.097 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.6599, allocations: 174.8 kB / 1.097 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.66, allocations: 39.78 kB / 1.097 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.66, allocations: 8 kB / 1.097 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.6603, allocations: 187.6 kB / 1.097 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.6603, allocations: 19.92 kB / 1.097 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.6604, allocations: 47.72 kB / 1.098 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.6606, allocations: 195.5 kB / 1.098 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6606, allocations: 0 / 1.098 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6606, allocations: 0 / 1.098 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6607, allocations: 0 / 1.098 GB, free: 9.465 MB / 0.8575 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.0005205/0.6612, allocations: 446.9 kB / 1.098 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.6612, allocations: 8.031 kB / 1.098 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.6613, allocations: 42.69 kB / 1.098 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.6621, allocations: 83.73 kB / 1.098 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.6623, allocations: 203.8 kB / 1.098 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.6624, allocations: 4 kB / 1.098 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.6624, allocations: 12 kB / 1.098 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.6628, allocations: 129.6 kB / 1.099 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.6628, allocations: 3.938 kB / 1.099 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.6628, allocations: 11.94 kB / 1.099 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.6629, allocations: 0 / 1.099 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.6633, allocations: 139.8 kB / 1.099 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.664, allocations: 408.4 kB / 1.099 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.6647, allocations: 259.6 kB / 1.099 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.6649, allocations: 72.8 kB / 1.099 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.665, allocations: 4 kB / 1.099 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.665, allocations: 34.56 kB / 1.099 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.096e-06/0.665, allocations: 0 / 1.099 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007041/0.6657, allocations: 221.3 kB / 1.1 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.6658, allocations: 55.41 kB / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.6659, allocations: 148.1 kB / 1.1 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6659, allocations: 25.7 kB / 1.1 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.666, allocations: 104 kB / 1.1 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.666, allocations: 23.8 kB / 1.1 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.666, allocations: 25.7 kB / 1.1 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.6662, allocations: 326.8 kB / 1.1 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.6664, allocations: 55.95 kB / 1.1 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.6666, allocations: 74.52 kB / 1.101 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.667, allocations: 125.2 kB / 1.101 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.667, allocations: 0 / 1.101 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004462/0.6674, allocations: 165.4 kB / 1.101 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6675, allocations: 4 kB / 1.101 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.6675, allocations: 0 / 1.101 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6675, allocations: 3.984 kB / 1.101 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.6677, allocations: 27.97 kB / 1.101 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6677, allocations: 0 / 1.101 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.6678, allocations: 23.89 kB / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.6679, allocations: 3.938 kB / 1.101 GB, free: 5.996 MB / 0.8575 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.198e-05/0.668, allocations: 125.8 kB / 1.101 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.668, allocations: 11.91 kB / 1.101 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.668, allocations: 16.66 kB / 1.101 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6681, allocations: 4 kB / 1.101 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6681, allocations: 4 kB / 1.101 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6681, allocations: 4 kB / 1.101 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007042/0.6688, allocations: 458.3 kB / 1.101 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6688, allocations: 0 / 1.101 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.669, allocations: 31.95 kB / 1.101 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.669, allocations: 7.938 kB / 1.101 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.669, allocations: 0 / 1.101 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.669, allocations: 7.875 kB / 1.101 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.669, allocations: 0 / 1.101 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.6695, allocations: 255.3 kB / 1.102 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.6695, allocations: 85.02 kB / 1.102 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.6696, allocations: 3.938 kB / 1.102 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.6697, allocations: 23.91 kB / 1.102 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.6698, allocations: 4 kB / 1.102 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.6698, allocations: 7.984 kB / 1.102 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.6699, allocations: 116.5 kB / 1.102 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6699, allocations: 4 kB / 1.102 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002411/0.6701, allocations: 23.94 kB / 1.102 GB, free: 4.727 MB / 0.8575 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.0007186/0.6709, allocations: 0.8113 MB / 1.103 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004447/0.6713, allocations: 135.8 kB / 1.103 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6713, allocations: 0 / 1.103 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.6715, allocations: 63.94 kB / 1.103 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.6718, allocations: 32.53 kB / 1.103 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.674, allocations: 1.759 MB / 1.105 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.6742, allocations: 0.7039 MB / 1.105 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.6744, allocations: 28.41 kB / 1.105 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.6745, allocations: 27.42 kB / 1.105 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of SimCode: time 1.403e-06/0.6745, allocations: 0 / 1.105 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.6868, allocations: 3.136 MB / 1.109 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.6871, allocations: 218.9 kB / 1.109 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.343, allocations: 3.938 kB / 1.109 GB, free: 13.79 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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