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: 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_latest_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_latest_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.00137/0.00137, allocations: 106.2 kB / 16.27 MB, free: 6.414 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.001325/0.001325, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.476/1.476, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 68.52 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7628, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002905/0.7658, allocations: 1.638 MB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1949/0.9607, allocations: 151.5 MB / 1.232 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.9609, allocations: 4 kB / 1.233 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.961, allocations: 19.8 kB / 1.233 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.9613, allocations: 43.69 kB / 1.233 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.9617, allocations: 143.4 kB / 1.233 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.9619, allocations: 119.6 kB / 1.233 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.9621, allocations: 35.34 kB / 1.233 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.9634, allocations: 164.7 kB / 1.233 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.9635, allocations: 43.77 kB / 1.233 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.9635, allocations: 8 kB / 1.233 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.9639, allocations: 191.6 kB / 1.233 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.964, allocations: 23.92 kB / 1.233 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.628e-05/0.964, allocations: 39.75 kB / 1.233 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.9644, allocations: 191.5 kB / 1.233 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9644, allocations: 0 / 1.233 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9644, allocations: 3.938 kB / 1.233 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.9644, allocations: 0 / 1.233 GB, free: 4.258 MB / 0.9512 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.0006677/0.9651, allocations: 442.9 kB / 1.234 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.9651, allocations: 12.03 kB / 1.234 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009396/0.9661, allocations: 79.94 kB / 1.234 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.9663, allocations: 206.7 kB / 1.234 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.9664, allocations: 12 kB / 1.234 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.9664, allocations: 12 kB / 1.234 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.9668, allocations: 129.5 kB / 1.234 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.9668, allocations: 0 / 1.234 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.9669, allocations: 8 kB / 1.234 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.9669, allocations: 3.938 kB / 1.234 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005568/0.9675, allocations: 135.9 kB / 1.234 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000819/0.9683, allocations: 416.4 kB / 1.235 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.9691, allocations: 247.7 kB / 1.235 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.9693, allocations: 80.8 kB / 1.235 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.9694, allocations: 7.969 kB / 1.235 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.9694, allocations: 34.56 kB / 1.235 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.9694, allocations: 0 / 1.235 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0008239/0.9702, allocations: 213.3 kB / 1.235 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.9703, allocations: 55.41 kB / 1.235 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.9704, allocations: 144.5 kB / 1.236 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.9705, allocations: 25.7 kB / 1.236 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.9705, allocations: 100.1 kB / 1.236 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.9706, allocations: 31.69 kB / 1.236 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.9706, allocations: 33.64 kB / 1.236 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9708, allocations: 318.8 kB / 1.236 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.971, allocations: 59.94 kB / 1.236 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.9713, allocations: 82.5 kB / 1.236 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.9717, allocations: 112.8 kB / 1.236 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9718, allocations: 0 / 1.236 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005231/0.9723, allocations: 161.5 kB / 1.237 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.9723, allocations: 4 kB / 1.237 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9723, allocations: 0 / 1.237 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.9723, allocations: 0 / 1.237 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.9726, allocations: 35.91 kB / 1.237 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.9726, allocations: 0 / 1.237 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.9727, allocations: 23.97 kB / 1.237 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.9728, allocations: 0 / 1.237 GB, free: 0.8398 MB / 0.9512 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.0001144/0.9729, allocations: 121.7 kB / 1.237 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.9729, allocations: 19.81 kB / 1.237 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.973, allocations: 16.64 kB / 1.237 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.973, allocations: 8 kB / 1.237 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.973, allocations: 0 / 1.237 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.973, allocations: 0 / 1.237 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.9739, allocations: 462.3 kB / 1.237 GB, free: 164 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9739, allocations: 4 kB / 1.237 GB, free: 160 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.9741, allocations: 23.97 kB / 1.237 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9741, allocations: 7.938 kB / 1.237 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.9741, allocations: 0 / 1.237 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.9741, allocations: 7.922 kB / 1.237 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9742, allocations: 0 / 1.237 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.9747, allocations: 259.8 kB / 1.237 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.9748, allocations: 89 kB / 1.238 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.9748, allocations: 0 / 1.238 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.975, allocations: 15.92 kB / 1.238 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.9751, allocations: 15.98 kB / 1.238 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.9751, allocations: 4 kB / 1.238 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.884e-05/0.9752, allocations: 113.3 kB / 1.238 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9752, allocations: 0 / 1.238 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002735/0.9755, allocations: 28 kB / 1.238 GB, free: 15.57 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.0001785/0.9757, allocations: 115.2 kB / 1.238 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.9762, allocations: 143.9 kB / 1.238 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9762, allocations: 0 / 1.238 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.9765, allocations: 59.95 kB / 1.238 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.9769, allocations: 35.97 kB / 1.238 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.9775, allocations: 264.7 kB / 1.238 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.9779, allocations: 0.7041 MB / 1.239 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.978, allocations: 19.42 kB / 1.239 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.978, allocations: 0 / 1.239 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of Templates: time 0.003842/0.9818, allocations: 1.709 MB / 1.241 GB, free: 12.47 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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