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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001271/0.001271, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001346/0.001346, allocations: 192.7 kB / 16.14 MB, free: 6.645 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 74.94 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 157.4 MB / 1.052 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002734/0.2608, allocations: 1.7 MB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1421/0.4029, allocations: 149.3 MB / 1.2 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.4031, allocations: 4 kB / 1.2 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.4033, allocations: 11.86 kB / 1.2 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.4036, allocations: 43.83 kB / 1.2 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.404, allocations: 119.5 kB / 1.2 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.4042, allocations: 115.6 kB / 1.2 GB, free: 468 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.4043, allocations: 33.59 kB / 1.2 GB, free: 432 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.4062, allocations: 163.4 kB / 1.2 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.4063, allocations: 39.78 kB / 1.2 GB, free: 248 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.4063, allocations: 7.984 kB / 1.2 GB, free: 240 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.4067, allocations: 183.6 kB / 1.2 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.4067, allocations: 19.92 kB / 1.2 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.4068, allocations: 39.81 kB / 1.2 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.4071, allocations: 179.5 kB / 1.201 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4071, allocations: 4 kB / 1.201 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4072, allocations: 0 / 1.201 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4072, allocations: 0 / 1.201 GB, free: 15.82 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.0006018/0.4078, allocations: 447 kB / 1.201 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4078, allocations: 11.97 kB / 1.201 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.4079, allocations: 38.75 kB / 1.201 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/0.4088, allocations: 83.66 kB / 1.201 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.409, allocations: 206.8 kB / 1.201 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4091, allocations: 4 kB / 1.201 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.4091, allocations: 8 kB / 1.201 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.4095, allocations: 143.5 kB / 1.201 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4096, allocations: 3.984 kB / 1.201 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.4096, allocations: 3.938 kB / 1.201 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4096, allocations: 4 kB / 1.201 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.4101, allocations: 139.8 kB / 1.202 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.4109, allocations: 412.3 kB / 1.202 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.4116, allocations: 259.6 kB / 1.202 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.4119, allocations: 72.8 kB / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4119, allocations: 0 / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.4119, allocations: 38.56 kB / 1.202 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.4119, allocations: 0 / 1.202 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0007714/0.4127, allocations: 213.4 kB / 1.203 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.4127, allocations: 51.41 kB / 1.203 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4129, allocations: 149.9 kB / 1.203 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4129, allocations: 33.64 kB / 1.203 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.413, allocations: 108.1 kB / 1.203 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.413, allocations: 23.64 kB / 1.203 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.413, allocations: 25.7 kB / 1.203 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.4132, allocations: 326.8 kB / 1.203 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.4134, allocations: 51.95 kB / 1.203 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.4136, allocations: 74.52 kB / 1.203 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.414, allocations: 125.2 kB / 1.203 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4141, allocations: 0 / 1.203 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004901/0.4146, allocations: 169.3 kB / 1.204 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4146, allocations: 8 kB / 1.204 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4146, allocations: 0 / 1.204 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4146, allocations: 0 / 1.204 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.4148, allocations: 31.95 kB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4148, allocations: 0 / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.415, allocations: 11.98 kB / 1.204 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.415, allocations: 15.94 kB / 1.204 GB, free: 12.33 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 8.798e-05/0.4151, allocations: 117.8 kB / 1.204 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.4152, allocations: 7.906 kB / 1.204 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.4152, allocations: 16.72 kB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4152, allocations: 0 / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4152, allocations: 3.938 kB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4152, allocations: 0 / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.416, allocations: 466.2 kB / 1.204 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.416, allocations: 4 kB / 1.204 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4162, allocations: 31.97 kB / 1.204 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4162, allocations: 0 / 1.204 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4163, allocations: 7.984 kB / 1.204 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4163, allocations: 7.938 kB / 1.204 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4163, allocations: 0 / 1.204 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.4168, allocations: 255.3 kB / 1.205 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.4168, allocations: 92.86 kB / 1.205 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.4169, allocations: 4 kB / 1.205 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.4171, allocations: 15.92 kB / 1.205 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.4171, allocations: 7.984 kB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4171, allocations: 3.984 kB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.586e-05/0.4172, allocations: 115.3 kB / 1.205 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4172, allocations: 0 / 1.205 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002707/0.4175, allocations: 28 kB / 1.205 GB, free: 11.07 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.0008111/0.4183, allocations: 0.8059 MB / 1.206 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.4188, allocations: 127.9 kB / 1.206 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4188, allocations: 0 / 1.206 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.419, allocations: 67.88 kB / 1.206 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.4194, allocations: 25.3 kB / 1.206 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.4219, allocations: 1.761 MB / 1.208 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.4221, allocations: 0.6965 MB / 1.208 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.4223, allocations: 36.42 kB / 1.208 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.4224, allocations: 27.42 kB / 1.208 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.4224, allocations: 0 / 1.208 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.4359, allocations: 3.03 MB / 1.211 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.4361, allocations: 222.4 kB / 1.211 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.284, allocations: 4 kB / 1.211 GB, free: 4.273 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