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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001679/0.001679, 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.002133/0.002133, allocations: 187.9 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.626/1.626, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.036/3.036, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 66.97 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002799/0.3336, allocations: 1.708 MB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.4895, allocations: 149.4 MB / 1.2 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.4897, allocations: 0 / 1.2 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.4899, allocations: 15.86 kB / 1.2 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.4902, allocations: 35.77 kB / 1.2 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.4906, allocations: 135.5 kB / 1.2 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.4908, allocations: 123.6 kB / 1.2 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.491, allocations: 29.56 kB / 1.2 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.4929, allocations: 173.2 kB / 1.2 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.493, allocations: 43.78 kB / 1.2 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.493, allocations: 8 kB / 1.2 GB, free: 488 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.4934, allocations: 183.7 kB / 1.201 GB, free: 304 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.4935, allocations: 19.92 kB / 1.201 GB, free: 284 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.4935, allocations: 51.72 kB / 1.201 GB, free: 232 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.4939, allocations: 187.4 kB / 1.201 GB, free: 44 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4939, allocations: 4 kB / 1.201 GB, free: 40 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4939, allocations: 0 / 1.201 GB, free: 40 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4939, allocations: 4 kB / 1.201 GB, free: 36 kB / 0.9512 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.0006359/0.4946, allocations: 431 kB / 1.201 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4946, allocations: 8.625 kB / 1.201 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.4947, allocations: 42.73 kB / 1.201 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009594/0.4956, allocations: 83.66 kB / 1.201 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.4959, allocations: 200.8 kB / 1.202 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4959, allocations: 8 kB / 1.202 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.4959, allocations: 11.94 kB / 1.202 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.4963, allocations: 137.5 kB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4964, allocations: 0 / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.4964, allocations: 7.938 kB / 1.202 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4964, allocations: 0 / 1.202 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.4969, allocations: 143.8 kB / 1.202 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007781/0.4977, allocations: 420.4 kB / 1.202 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.4985, allocations: 255.7 kB / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.4987, allocations: 76.8 kB / 1.203 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.4987, allocations: 0 / 1.203 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4988, allocations: 30.56 kB / 1.203 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4988, allocations: 0 / 1.203 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0007804/0.4996, allocations: 225.3 kB / 1.203 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.4996, allocations: 51.41 kB / 1.203 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4997, allocations: 149.3 kB / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.4998, allocations: 29.7 kB / 1.203 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.4998, allocations: 108.1 kB / 1.203 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.4999, allocations: 27.64 kB / 1.203 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.4999, allocations: 21.72 kB / 1.203 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.5, allocations: 326.7 kB / 1.204 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.5003, allocations: 63.94 kB / 1.204 GB, free: 13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.5005, allocations: 70.52 kB / 1.204 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.5009, allocations: 120.7 kB / 1.204 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5009, allocations: 0 / 1.204 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004806/0.5014, allocations: 165.4 kB / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5014, allocations: 8 kB / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5014, allocations: 0 / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5015, allocations: 0 / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.5017, allocations: 27.97 kB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5017, allocations: 0 / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.5019, allocations: 27.91 kB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5019, allocations: 3.938 kB / 1.204 GB, free: 12.56 MB / 0.9669 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.253e-05/0.502, allocations: 121.8 kB / 1.204 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.502, allocations: 11.91 kB / 1.204 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.5021, allocations: 16.7 kB / 1.204 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5021, allocations: 4 kB / 1.204 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5021, allocations: 0 / 1.204 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5021, allocations: 0 / 1.204 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.5029, allocations: 466.3 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5029, allocations: 0 / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.5031, allocations: 27.91 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5031, allocations: 4 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.5032, allocations: 4 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5032, allocations: 3.938 kB / 1.205 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5032, allocations: 0 / 1.205 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.5037, allocations: 256 kB / 1.205 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.5038, allocations: 92.86 kB / 1.205 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.5038, allocations: 3.984 kB / 1.205 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.504, allocations: 19.92 kB / 1.205 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.504, allocations: 11.98 kB / 1.205 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5041, allocations: 4 kB / 1.205 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.764e-05/0.5041, allocations: 107.2 kB / 1.205 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5041, allocations: 4 kB / 1.205 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002719/0.5044, allocations: 28 kB / 1.205 GB, free: 11.3 MB / 0.9669 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.0008302/0.5052, allocations: 0.81 MB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.5057, allocations: 127.8 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5058, allocations: 3.938 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.506, allocations: 67.94 kB / 1.206 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.5064, allocations: 27.91 kB / 1.206 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.5088, allocations: 1.751 MB / 1.208 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.509, allocations: 0.7041 MB / 1.209 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.5092, allocations: 28.44 kB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.5093, allocations: 31.42 kB / 1.209 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.5093, allocations: 4 kB / 1.209 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7672/1.277, allocations: 3.14 MB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/1.277, allocations: 224.3 kB / 1.212 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.05/5.327, allocations: 3.125 kB / 1.212 GB, free: 4.406 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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