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: 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.0009913/0.0009912, allocations: 98.88 kB / 16.02 MB, free: 76 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.001204/0.001204, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.487/1.487, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8.281 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3197, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001869/0.3216, allocations: 1.365 MB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1562/0.4778, allocations: 147.7 MB / 1.205 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.478, allocations: 0 / 1.205 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.4781, allocations: 11.86 kB / 1.205 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.4784, allocations: 31.84 kB / 1.205 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.4787, allocations: 123.5 kB / 1.205 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.4789, allocations: 119.6 kB / 1.205 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.479, allocations: 29.67 kB / 1.205 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.4809, allocations: 153.6 kB / 1.205 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.4809, allocations: 39.77 kB / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.481, allocations: 8 kB / 1.205 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.4814, allocations: 179.6 kB / 1.206 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.4814, allocations: 15.92 kB / 1.206 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.4815, allocations: 65.44 kB / 1.206 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.4817, allocations: 131.7 kB / 1.206 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4817, allocations: 3.984 kB / 1.206 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.316e-06/0.4817, allocations: 0 / 1.206 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4817, allocations: 3.938 kB / 1.206 GB, free: 14.52 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.000599/0.4823, allocations: 435.1 kB / 1.206 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4824, allocations: 11.97 kB / 1.206 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.4833, allocations: 83.94 kB / 1.206 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.4835, allocations: 202.8 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.4836, allocations: 4 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.4836, allocations: 11.94 kB / 1.206 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.484, allocations: 147.1 kB / 1.207 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.484, allocations: 0 / 1.207 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4841, allocations: 4 kB / 1.207 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4841, allocations: 3.938 kB / 1.207 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.4846, allocations: 159.9 kB / 1.207 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.4854, allocations: 412.3 kB / 1.207 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.4861, allocations: 267.7 kB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.4864, allocations: 84.8 kB / 1.207 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.4864, allocations: 0 / 1.207 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.4864, allocations: 38.5 kB / 1.207 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.4865, allocations: 0 / 1.207 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0008062/0.4873, allocations: 253.3 kB / 1.208 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.4873, allocations: 51.41 kB / 1.208 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.4874, allocations: 147.9 kB / 1.208 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.4875, allocations: 29.7 kB / 1.208 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.4875, allocations: 104.2 kB / 1.208 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.4876, allocations: 23.62 kB / 1.208 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.4876, allocations: 13.72 kB / 1.208 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4877, allocations: 330.8 kB / 1.208 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.488, allocations: 59.94 kB / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4882, allocations: 94.45 kB / 1.209 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.4887, allocations: 136.8 kB / 1.209 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4887, allocations: 0 / 1.209 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005154/0.4892, allocations: 189.5 kB / 1.209 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4892, allocations: 5.875 kB / 1.209 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4892, allocations: 0 / 1.209 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.4892, allocations: 3.938 kB / 1.209 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.4895, allocations: 35.91 kB / 1.209 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4895, allocations: 0 / 1.209 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.4896, allocations: 35.91 kB / 1.209 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4897, allocations: 0 / 1.209 GB, free: 10.96 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 9.942e-05/0.4898, allocations: 121.8 kB / 1.209 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.4898, allocations: 11.81 kB / 1.209 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.4899, allocations: 28.7 kB / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4899, allocations: 0 / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4899, allocations: 3.938 kB / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4899, allocations: 3.984 kB / 1.209 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008414/0.4907, allocations: 482.3 kB / 1.21 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.4908, allocations: 0 / 1.21 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.4909, allocations: 35.97 kB / 1.21 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.491, allocations: 0 / 1.21 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.491, allocations: 4 kB / 1.21 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.491, allocations: 7.938 kB / 1.21 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.491, allocations: 0.625 kB / 1.21 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.4916, allocations: 275.3 kB / 1.21 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.4917, allocations: 96.84 kB / 1.21 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.4917, allocations: 8 kB / 1.21 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.4919, allocations: 19.92 kB / 1.21 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.4919, allocations: 11.92 kB / 1.21 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.4919, allocations: 0 / 1.21 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.492, allocations: 118.1 kB / 1.21 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.492, allocations: 4 kB / 1.21 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002666/0.4923, allocations: 28 kB / 1.21 GB, free: 9.625 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.0001703/0.4925, allocations: 111.2 kB / 1.21 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005279/0.493, allocations: 143.9 kB / 1.21 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.493, allocations: 0 / 1.21 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.4933, allocations: 83.88 kB / 1.21 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.4936, allocations: 33.45 kB / 1.211 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.4943, allocations: 286.8 kB / 1.211 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.4945, allocations: 0.7121 MB / 1.211 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.4946, allocations: 19.42 kB / 1.211 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.4946, allocations: 0 / 1.211 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.003593/0.4982, allocations: 1.7 MB / 1.213 GB, free: 6.488 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=480 -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