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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001077/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001027/0.001027, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6051/0.6065, allocations: 140.4 MB / 0.949 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003236/0.6098, allocations: 1.702 MB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1563/0.7661, allocations: 149.3 MB / 1.096 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.7663, allocations: 0 / 1.096 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.7666, allocations: 11.86 kB / 1.096 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.7668, allocations: 47.77 kB / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.7672, allocations: 119.6 kB / 1.097 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.7674, allocations: 111.6 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.7675, allocations: 31.64 kB / 1.097 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.7693, allocations: 156.3 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.7694, allocations: 39.78 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.7694, allocations: 4 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.7698, allocations: 183.6 kB / 1.097 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.7698, allocations: 23.91 kB / 1.097 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.7699, allocations: 43.73 kB / 1.097 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.7702, allocations: 191.5 kB / 1.097 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7702, allocations: 0 / 1.097 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7702, allocations: 0 / 1.097 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.7702, allocations: 0 / 1.097 GB, free: 9.613 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.0006041/0.7708, allocations: 442.9 kB / 1.098 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.7709, allocations: 15.97 kB / 1.098 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.771, allocations: 34.75 kB / 1.098 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.7719, allocations: 83.75 kB / 1.098 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.7721, allocations: 204.7 kB / 1.098 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7721, allocations: 4 kB / 1.098 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.7722, allocations: 8 kB / 1.098 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.7726, allocations: 149.5 kB / 1.098 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.7726, allocations: 0 / 1.098 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.7726, allocations: 7.875 kB / 1.098 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7726, allocations: 0 / 1.098 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.7731, allocations: 139.9 kB / 1.098 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.7739, allocations: 412.4 kB / 1.099 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.7745, allocations: 251.7 kB / 1.099 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.7748, allocations: 76.8 kB / 1.099 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.7748, allocations: 0 / 1.099 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.7748, allocations: 34.56 kB / 1.099 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.7748, allocations: 0 / 1.099 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007401/0.7756, allocations: 221.4 kB / 1.099 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.7756, allocations: 55.41 kB / 1.099 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.7757, allocations: 145.5 kB / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.7757, allocations: 29.7 kB / 1.1 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.7758, allocations: 100 kB / 1.1 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.7758, allocations: 27.78 kB / 1.1 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.7759, allocations: 25.7 kB / 1.1 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.776, allocations: 330.8 kB / 1.1 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.7762, allocations: 47.95 kB / 1.1 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.7764, allocations: 78.52 kB / 1.1 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.7768, allocations: 121.2 kB / 1.1 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7768, allocations: 3.938 kB / 1.1 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004736/0.7773, allocations: 165.5 kB / 1.1 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.7773, allocations: 4 kB / 1.1 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7774, allocations: 0 / 1.1 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.7774, allocations: 0 / 1.1 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.7776, allocations: 31.95 kB / 1.1 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7776, allocations: 3.938 kB / 1.1 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.7777, allocations: 27.89 kB / 1.101 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.7778, allocations: 3.938 kB / 1.101 GB, free: 6.137 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 9.023e-05/0.7779, allocations: 129.7 kB / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.7779, allocations: 7.906 kB / 1.101 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.778, allocations: 12.72 kB / 1.101 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.778, allocations: 4 kB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.778, allocations: 0 / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.778, allocations: 4 kB / 1.101 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.7787, allocations: 462.2 kB / 1.101 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7788, allocations: 0 / 1.101 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.779, allocations: 35.97 kB / 1.101 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.779, allocations: 0 / 1.101 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.779, allocations: 7.922 kB / 1.101 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.779, allocations: 3.938 kB / 1.101 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.779, allocations: 0 / 1.101 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.7795, allocations: 251.3 kB / 1.101 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.7796, allocations: 89.02 kB / 1.101 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.7796, allocations: 0 / 1.101 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.7798, allocations: 19.92 kB / 1.102 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.7798, allocations: 7.984 kB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.7798, allocations: 7.984 kB / 1.102 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.7799, allocations: 115.1 kB / 1.102 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7799, allocations: 0 / 1.102 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002657/0.7802, allocations: 35.94 kB / 1.102 GB, free: 4.867 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.0007819/0.781, allocations: 0.802 MB / 1.102 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.7814, allocations: 123.9 kB / 1.103 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7814, allocations: 0 / 1.103 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.7817, allocations: 71.88 kB / 1.103 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.782, allocations: 35.86 kB / 1.103 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.7843, allocations: 1.756 MB / 1.104 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.7846, allocations: 0.6965 MB / 1.105 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.7847, allocations: 32.39 kB / 1.105 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.175e-05/0.7848, allocations: 31.42 kB / 1.105 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.7848, allocations: 0 / 1.105 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.7965, allocations: 3.028 MB / 1.108 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.7967, allocations: 216.9 kB / 1.108 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.527, allocations: 4 kB / 1.108 GB, free: 14.04 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