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: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002203/0.002203, allocations: 190.7 kB / 16.25 MB, free: 6.633 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.523 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 3.003/3.003, allocations: 469.8 MB / 0.742 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.8 kB / 0.908 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2978, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003166/0.301, allocations: 1.703 MB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.4852, allocations: 149.4 MB / 1.211 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.4854, allocations: 0 / 1.211 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.4855, allocations: 11.92 kB / 1.211 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.4858, allocations: 35.78 kB / 1.211 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.4862, allocations: 131.5 kB / 1.211 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.4864, allocations: 119.6 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4865, allocations: 29.67 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.4886, allocations: 173.2 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.4887, allocations: 43.78 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.4887, allocations: 8 kB / 1.212 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.4891, allocations: 191.6 kB / 1.212 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.4891, allocations: 19.92 kB / 1.212 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.4892, allocations: 43.73 kB / 1.212 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.4895, allocations: 195.5 kB / 1.212 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4895, allocations: 4 kB / 1.212 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4896, allocations: 0 / 1.212 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4896, allocations: 7.875 kB / 1.212 GB, free: 6.012 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.0006664/0.4902, allocations: 435 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4903, allocations: 8.031 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000935/0.4912, allocations: 87.84 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.4915, allocations: 206.8 kB / 1.213 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4915, allocations: 8 kB / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.4915, allocations: 4 kB / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.492, allocations: 133.6 kB / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.492, allocations: 0 / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.492, allocations: 3.984 kB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.492, allocations: 3.938 kB / 1.213 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.4926, allocations: 135.9 kB / 1.213 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008566/0.4934, allocations: 428.2 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.4942, allocations: 247.7 kB / 1.214 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4945, allocations: 80.8 kB / 1.214 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.4945, allocations: 0 / 1.214 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.4945, allocations: 38.55 kB / 1.214 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.4945, allocations: 0 / 1.214 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008047/0.4953, allocations: 221.3 kB / 1.214 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.4954, allocations: 51.41 kB / 1.214 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.4955, allocations: 138.5 kB / 1.214 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.4956, allocations: 29.7 kB / 1.214 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.4956, allocations: 112.1 kB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.4957, allocations: 23.61 kB / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.4958, allocations: 25.72 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4959, allocations: 326.8 kB / 1.215 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.4961, allocations: 51.94 kB / 1.215 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.4964, allocations: 78.52 kB / 1.215 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.4968, allocations: 112.8 kB / 1.215 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4968, allocations: 0 / 1.215 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005017/0.4973, allocations: 166 kB / 1.215 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4974, allocations: 4 kB / 1.215 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4974, allocations: 0 / 1.215 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4974, allocations: 7.938 kB / 1.215 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.4976, allocations: 23.97 kB / 1.215 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4976, allocations: 8.062 kB / 1.215 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.4978, allocations: 27.91 kB / 1.215 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4978, allocations: 0 / 1.215 GB, free: 2.598 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 0.0001085/0.4979, allocations: 121.8 kB / 1.215 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.498, allocations: 11.81 kB / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.498, allocations: 28.64 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4981, allocations: 0 / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4981, allocations: 3.938 kB / 1.215 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4981, allocations: 0 / 1.215 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008564/0.4989, allocations: 462.3 kB / 1.216 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4989, allocations: 0 / 1.216 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.4991, allocations: 31.97 kB / 1.216 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4992, allocations: 0 / 1.216 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.4992, allocations: 4 kB / 1.216 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4992, allocations: 3.938 kB / 1.216 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4992, allocations: 4 kB / 1.216 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.4997, allocations: 259.3 kB / 1.216 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.4998, allocations: 92.84 kB / 1.216 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4998, allocations: 4 kB / 1.216 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.5, allocations: 19.92 kB / 1.216 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.5001, allocations: 11.98 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.5001, allocations: 0 / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.101e-05/0.5002, allocations: 114.1 kB / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5002, allocations: 0 / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002763/0.5005, allocations: 32 kB / 1.216 GB, free: 1.32 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.0001866/0.5007, allocations: 107.2 kB / 1.216 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.5012, allocations: 135.8 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5012, allocations: 0 / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.5015, allocations: 63.94 kB / 1.216 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.5018, allocations: 30.08 kB / 1.217 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.5025, allocations: 271 kB / 1.217 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.5028, allocations: 0.7041 MB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.503, allocations: 28.41 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.5031, allocations: 19.42 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.5031, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.005181/0.5082, allocations: 1.825 MB / 1.219 GB, free: 14.12 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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 & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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