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.004899/0.004899, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001234/0.001234, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 66.48 kB / 0.9504 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2431, allocations: 140.4 MB / 1.087 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002704/0.2458, allocations: 1.644 MB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.155/0.4008, allocations: 151.6 MB / 1.237 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.401, allocations: 0 / 1.237 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.4013, allocations: 23.8 kB / 1.237 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.4016, allocations: 39.7 kB / 1.237 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.4022, allocations: 147.4 kB / 1.237 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.4024, allocations: 123.6 kB / 1.237 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.4026, allocations: 28.2 kB / 1.237 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.4039, allocations: 167 kB / 1.238 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.404, allocations: 43.78 kB / 1.238 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.4041, allocations: 12 kB / 1.238 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.4045, allocations: 183.6 kB / 1.238 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.4046, allocations: 19.92 kB / 1.238 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.4046, allocations: 51.72 kB / 1.238 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.405, allocations: 184.3 kB / 1.238 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.405, allocations: 0 / 1.238 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.405, allocations: 0 / 1.238 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4051, allocations: 4 kB / 1.238 GB, free: 7.371 MB / 0.9981 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.0008095/0.4059, allocations: 450.9 kB / 1.238 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4059, allocations: 8.031 kB / 1.238 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.227e-05/0.406, allocations: 42.69 kB / 1.239 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.4072, allocations: 79.75 kB / 1.239 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.4075, allocations: 204.7 kB / 1.239 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4075, allocations: 8 kB / 1.239 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.4076, allocations: 7.938 kB / 1.239 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.4081, allocations: 141.5 kB / 1.239 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.4082, allocations: 4 kB / 1.239 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.4082, allocations: 3.938 kB / 1.239 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4082, allocations: 4 kB / 1.239 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.4089, allocations: 143.8 kB / 1.239 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.41, allocations: 408.6 kB / 1.239 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.411, allocations: 247.7 kB / 1.24 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.4113, allocations: 80.78 kB / 1.24 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4114, allocations: 4 kB / 1.24 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4114, allocations: 30.56 kB / 1.24 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.4114, allocations: 0 / 1.24 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001098/0.4125, allocations: 221.3 kB / 1.24 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.4126, allocations: 55.41 kB / 1.24 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.4127, allocations: 149.3 kB / 1.24 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.4128, allocations: 25.7 kB / 1.24 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.4129, allocations: 104.1 kB / 1.24 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.101e-05/0.413, allocations: 31.55 kB / 1.24 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.413, allocations: 25.7 kB / 1.24 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4132, allocations: 326.8 kB / 1.241 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.4135, allocations: 51.89 kB / 1.241 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.4138, allocations: 82.52 kB / 1.241 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.4144, allocations: 116.8 kB / 1.241 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4144, allocations: 32 / 1.241 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006656/0.4151, allocations: 161.4 kB / 1.241 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4151, allocations: 8 kB / 1.241 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4151, allocations: 0 / 1.241 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4152, allocations: 0 / 1.241 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.4154, allocations: 31.97 kB / 1.241 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4155, allocations: 3.984 kB / 1.241 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.4157, allocations: 15.98 kB / 1.241 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.4157, allocations: 8.484 kB / 1.241 GB, free: 3.895 MB / 0.9981 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.0001408/0.4158, allocations: 117.8 kB / 1.241 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.4159, allocations: 15.8 kB / 1.241 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.541e-05/0.416, allocations: 20.72 kB / 1.241 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.416, allocations: 3.938 kB / 1.241 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.416, allocations: 0 / 1.241 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.416, allocations: 4 kB / 1.241 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.4172, allocations: 466.2 kB / 1.242 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4172, allocations: 7.938 kB / 1.242 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.4175, allocations: 27.97 kB / 1.242 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4175, allocations: 0 / 1.242 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.4175, allocations: 7.984 kB / 1.242 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.4175, allocations: 4.016 kB / 1.242 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4175, allocations: 7.922 kB / 1.242 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.4182, allocations: 251.3 kB / 1.242 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.4183, allocations: 92.92 kB / 1.242 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.4183, allocations: 0 / 1.242 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.4186, allocations: 19.92 kB / 1.242 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.4187, allocations: 11.98 kB / 1.242 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.4187, allocations: 0 / 1.242 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.59e-05/0.4188, allocations: 112.7 kB / 1.242 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4188, allocations: 0 / 1.242 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005126/0.4193, allocations: 28 kB / 1.242 GB, free: 2.621 MB / 0.9981 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.001245/0.4206, allocations: 0.8098 MB / 1.243 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.4213, allocations: 123.9 kB / 1.243 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4213, allocations: 0 / 1.243 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.4216, allocations: 63.89 kB / 1.243 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.4221, allocations: 39.91 kB / 1.243 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.4258, allocations: 1.728 MB / 1.245 GB, free: 15.76 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.4263, allocations: 0.7041 MB / 1.246 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.4264, allocations: 24.41 kB / 1.246 GB, free: 15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4266, allocations: 31.42 kB / 1.246 GB, free: 14.97 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.4266, allocations: 4 kB / 1.246 GB, free: 14.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.4511, allocations: 3.358 MB / 1.249 GB, free: 11.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/9.017, allocations: 14.88 kB / 1.249 GB, free: 11.73 MB / 1.014 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