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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004061/0.004061, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00118/0.00118, allocations: 198.6 kB / 16.68 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.84 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002892/0.307, allocations: 1.641 MB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7442/1.051, allocations: 151.5 MB / 1.391 GB, free: 3.59 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/1.051, allocations: 5.281 kB / 1.391 GB, free: 3.586 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/1.052, allocations: 17.03 kB / 1.391 GB, free: 3.57 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/1.052, allocations: 41.86 kB / 1.391 GB, free: 3.539 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/1.052, allocations: 145.8 kB / 1.392 GB, free: 3.434 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/1.052, allocations: 124.4 kB / 1.392 GB, free: 3.359 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/1.052, allocations: 26.09 kB / 1.392 GB, free: 3.344 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/1.054, allocations: 170.7 kB / 1.392 GB, free: 3.281 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/1.054, allocations: 41.88 kB / 1.392 GB, free: 3.254 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/1.054, allocations: 10.12 kB / 1.392 GB, free: 3.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/1.054, allocations: 189.9 kB / 1.392 GB, free: 3.152 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/1.054, allocations: 28.3 kB / 1.392 GB, free: 3.129 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/1.054, allocations: 40.8 kB / 1.392 GB, free: 3.102 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/1.055, allocations: 192.6 kB / 1.392 GB, free: 2.988 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.055, allocations: 1.344 kB / 1.392 GB, free: 2.988 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.473e-06/1.055, allocations: 0 / 1.392 GB, free: 2.988 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.26e-06/1.055, allocations: 0 / 1.392 GB, free: 2.988 MB / 1.092 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.0006585/1.055, allocations: 451.6 kB / 1.393 GB, free: 2.547 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.055, allocations: 13.69 kB / 1.393 GB, free: 2.543 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/1.055, allocations: 41.42 kB / 1.393 GB, free: 2.496 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008769/1.056, allocations: 78.86 kB / 1.393 GB, free: 2.465 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/1.057, allocations: 212.8 kB / 1.393 GB, free: 2.23 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.057, allocations: 6.688 kB / 1.393 GB, free: 2.227 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/1.057, allocations: 4.812 kB / 1.393 GB, free: 2.227 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/1.057, allocations: 132.7 kB / 1.393 GB, free: 2.137 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.057, allocations: 1.188 kB / 1.393 GB, free: 2.137 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/1.057, allocations: 0 / 1.393 GB, free: 2.137 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/1.057, allocations: 10.47 kB / 1.393 GB, free: 2.129 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/1.058, allocations: 135.2 kB / 1.393 GB, free: 2.066 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/1.058, allocations: 419.7 kB / 1.394 GB, free: 1.668 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/1.059, allocations: 251.2 kB / 1.394 GB, free: 1.477 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/1.059, allocations: 78.73 kB / 1.394 GB, free: 1.434 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/1.059, allocations: 1.219 kB / 1.394 GB, free: 1.434 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/1.06, allocations: 35.78 kB / 1.394 GB, free: 1.391 MB / 1.092 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.06, allocations: 0 / 1.394 GB, free: 1.391 MB / 1.092 GB Notification: Performance of matching and sorting (n=8): time 0.0008191/1.06, allocations: 217.2 kB / 1.394 GB, free: 1.27 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/1.06, allocations: 57.05 kB / 1.394 GB, free: 1.203 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/1.061, allocations: 146.3 kB / 1.395 GB, free: 1.082 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/1.061, allocations: 26.77 kB / 1.395 GB, free: 1.051 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/1.061, allocations: 107.9 kB / 1.395 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/1.061, allocations: 23.23 kB / 1.395 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/1.061, allocations: 32.92 kB / 1.395 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.061, allocations: 325.9 kB / 1.395 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/1.061, allocations: 52.06 kB / 1.395 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/1.061, allocations: 79.48 kB / 1.395 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/1.062, allocations: 115 kB / 1.395 GB, free: 448 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.062, allocations: 0 / 1.395 GB, free: 448 kB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005377/1.062, allocations: 164.6 kB / 1.395 GB, free: 348 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.062, allocations: 6.438 kB / 1.396 GB, free: 348 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.062, allocations: 1.312 kB / 1.396 GB, free: 348 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.062, allocations: 0 / 1.396 GB, free: 348 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/1.063, allocations: 27.03 kB / 1.396 GB, free: 340 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/1.063, allocations: 2 kB / 1.396 GB, free: 340 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/1.063, allocations: 32.69 kB / 1.396 GB, free: 316 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/1.063, allocations: 3.125 kB / 1.396 GB, free: 316 kB / 1.092 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.714e-05/1.063, allocations: 118.1 kB / 1.396 GB, free: 192 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/1.063, allocations: 12.09 kB / 1.396 GB, free: 184 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/1.063, allocations: 20.08 kB / 1.396 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.063, allocations: 9.141 kB / 1.396 GB, free: 160 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.063, allocations: 1.125 kB / 1.396 GB, free: 160 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.063, allocations: 1.219 kB / 1.396 GB, free: 160 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008519/1.064, allocations: 461.8 kB / 1.396 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.064, allocations: 4 kB / 1.396 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/1.064, allocations: 27.25 kB / 1.396 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.064, allocations: 0 / 1.396 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/1.064, allocations: 5.188 kB / 1.396 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.064, allocations: 5.781 kB / 1.396 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.064, allocations: 3.938 kB / 1.396 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/1.065, allocations: 271.5 kB / 1.396 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/1.065, allocations: 83.69 kB / 1.397 GB, free: 15.41 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/1.065, allocations: 9.297 kB / 1.397 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/1.065, allocations: 13.39 kB / 1.397 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/1.065, allocations: 14.3 kB / 1.397 GB, free: 15.38 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.065, allocations: 6.562 kB / 1.397 GB, free: 15.38 MB / 1.107 GB Notification: Performance of sorting global known variables: time 7.95e-05/1.065, allocations: 115.6 kB / 1.397 GB, free: 15.29 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.065, allocations: 0 / 1.397 GB, free: 15.29 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002671/1.065, allocations: 32.53 kB / 1.397 GB, free: 15.28 MB / 1.107 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.0009492/1.066, allocations: 0.8077 MB / 1.398 GB, free: 14.54 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005346/1.067, allocations: 124.5 kB / 1.398 GB, free: 14.49 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.067, allocations: 1.125 kB / 1.398 GB, free: 14.49 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/1.067, allocations: 69 kB / 1.398 GB, free: 14.46 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.068, allocations: 40.16 kB / 1.398 GB, free: 14.43 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/1.07, allocations: 1.721 MB / 1.399 GB, free: 12.97 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/1.071, allocations: 0.7036 MB / 1.4 GB, free: 12.26 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001243/1.071, allocations: 21.05 kB / 1.4 GB, free: 12.25 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/1.071, allocations: 30.02 kB / 1.4 GB, free: 12.23 MB / 1.107 GB Notification: Performance of SimCode: time 2.4e-07/1.071, allocations: 0 / 1.4 GB, free: 12.23 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1808/1.252, allocations: 3.379 MB / 1.403 GB, free: 10.53 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/9.217, allocations: 8.938 kB / 1.403 GB, free: 10.52 MB / 1.107 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=400 --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