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.001421/0.001421, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.766/2.766, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001978, allocations: 74.72 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003106/0.3537, allocations: 1.645 MB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1766/0.5304, allocations: 151.5 MB / 1.214 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.5305, allocations: 0 / 1.214 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.5307, allocations: 19.8 kB / 1.214 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.531, allocations: 47.7 kB / 1.214 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.5314, allocations: 143.4 kB / 1.214 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.5316, allocations: 123.6 kB / 1.214 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.5318, allocations: 33.61 kB / 1.214 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.533, allocations: 181.6 kB / 1.214 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.5331, allocations: 43.78 kB / 1.214 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.5331, allocations: 8 kB / 1.214 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.5335, allocations: 175.7 kB / 1.214 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.5336, allocations: 23.92 kB / 1.214 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.5336, allocations: 51.72 kB / 1.214 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.534, allocations: 183.5 kB / 1.215 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.534, allocations: 0 / 1.215 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.976e-06/0.534, allocations: 0 / 1.215 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.534, allocations: 3.938 kB / 1.215 GB, free: 3.406 MB / 0.9669 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.0006458/0.5347, allocations: 443 kB / 1.215 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5347, allocations: 12.03 kB / 1.215 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.5347, allocations: 38.69 kB / 1.215 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000899/0.5357, allocations: 83.75 kB / 1.215 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.5359, allocations: 205 kB / 1.215 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.5359, allocations: 4 kB / 1.215 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.5359, allocations: 8 kB / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.5364, allocations: 137.5 kB / 1.216 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5364, allocations: 0 / 1.216 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.5364, allocations: 7.938 kB / 1.216 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.5364, allocations: 4 kB / 1.216 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.537, allocations: 139.7 kB / 1.216 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.5377, allocations: 412.5 kB / 1.216 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.5384, allocations: 255.7 kB / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.5387, allocations: 72.8 kB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.5387, allocations: 0 / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5388, allocations: 38.56 kB / 1.216 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.5388, allocations: 0 / 1.216 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0007867/0.5395, allocations: 225.2 kB / 1.217 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.5396, allocations: 51.41 kB / 1.217 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.5397, allocations: 149.1 kB / 1.217 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.5398, allocations: 29.7 kB / 1.217 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.5398, allocations: 100.2 kB / 1.217 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.5399, allocations: 31.55 kB / 1.217 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.5399, allocations: 25.7 kB / 1.217 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5401, allocations: 330.8 kB / 1.217 GB, free: 432 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.5403, allocations: 51.89 kB / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.5405, allocations: 74.52 kB / 1.217 GB, free: 296 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.5409, allocations: 120.8 kB / 1.218 GB, free: 172 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.541, allocations: 0 / 1.218 GB, free: 172 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004781/0.5414, allocations: 165.4 kB / 1.218 GB, free: 0 / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.5415, allocations: 4.047 kB / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5415, allocations: 4 kB / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5415, allocations: 0 / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.5417, allocations: 27.91 kB / 1.218 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5417, allocations: 4 kB / 1.218 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.5419, allocations: 15.98 kB / 1.218 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.5419, allocations: 11.94 kB / 1.218 GB, free: 15.93 MB / 0.9825 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.0001052/0.542, allocations: 117.8 kB / 1.218 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.5421, allocations: 15.81 kB / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.5421, allocations: 16.72 kB / 1.218 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5421, allocations: 7.875 kB / 1.218 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5421, allocations: 0 / 1.218 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5422, allocations: 4 kB / 1.218 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.543, allocations: 454.4 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.543, allocations: 0 / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.5432, allocations: 31.97 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5432, allocations: 0 / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.5432, allocations: 7.984 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.5432, allocations: 7.938 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5432, allocations: 3.938 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.5437, allocations: 251.3 kB / 1.219 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.5438, allocations: 88.86 kB / 1.219 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.5438, allocations: 8 kB / 1.219 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.544, allocations: 15.92 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.5441, allocations: 11.97 kB / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.5441, allocations: 0 / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.847e-05/0.5442, allocations: 119.2 kB / 1.219 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5442, allocations: 0 / 1.219 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002559/0.5444, allocations: 24 kB / 1.219 GB, free: 14.67 MB / 0.9825 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.0008956/0.5453, allocations: 0.8067 MB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005095/0.5459, allocations: 135.9 kB / 1.22 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5459, allocations: 0 / 1.22 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.5461, allocations: 67.88 kB / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5464, allocations: 31.92 kB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.549, allocations: 1.724 MB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.5494, allocations: 0.7041 MB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.5495, allocations: 32.44 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.5496, allocations: 31.42 kB / 1.222 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.5496, allocations: 0 / 1.222 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.037/1.587, allocations: 3.326 MB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/16.02, allocations: 8 kB / 1.226 GB, free: 7.801 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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