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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001289/0.001289, 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.00142/0.00142, allocations: 193.6 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 65.36 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3946, allocations: 157.4 MB / 1.052 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.004808/0.3995, allocations: 1.704 MB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.187/0.5866, allocations: 149.3 MB / 1.2 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.5868, allocations: 7.938 kB / 1.2 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.587, allocations: 11.92 kB / 1.2 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.5872, allocations: 31.78 kB / 1.2 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.5877, allocations: 127.5 kB / 1.2 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.5878, allocations: 123.6 kB / 1.2 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.588, allocations: 25.66 kB / 1.2 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.5898, allocations: 162.7 kB / 1.2 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.5898, allocations: 39.83 kB / 1.2 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.5899, allocations: 8 kB / 1.2 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.5903, allocations: 175.7 kB / 1.2 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.5903, allocations: 23.86 kB / 1.2 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.5904, allocations: 43.73 kB / 1.2 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.5907, allocations: 187.4 kB / 1.2 GB, free: 476 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5907, allocations: 8 kB / 1.2 GB, free: 468 kB / 0.9512 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5907, allocations: 0 / 1.2 GB, free: 468 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.5908, allocations: 0 / 1.2 GB, free: 468 kB / 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.0006728/0.5914, allocations: 439.1 kB / 1.201 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5915, allocations: 8.031 kB / 1.201 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.5925, allocations: 83.8 kB / 1.201 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.5927, allocations: 211.8 kB / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5927, allocations: 7.984 kB / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.5928, allocations: 8 kB / 1.201 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.5932, allocations: 141.5 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5933, allocations: 4 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.5933, allocations: 0 / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5933, allocations: 3.938 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.5938, allocations: 139.9 kB / 1.201 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.5947, allocations: 412.3 kB / 1.202 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.5954, allocations: 251.7 kB / 1.202 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.5957, allocations: 80.73 kB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.5957, allocations: 0 / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.5957, allocations: 30.56 kB / 1.202 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.5957, allocations: 0 / 1.202 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0007938/0.5965, allocations: 213.7 kB / 1.202 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.5966, allocations: 55.41 kB / 1.202 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.5967, allocations: 145.1 kB / 1.203 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.5968, allocations: 33.7 kB / 1.203 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.5968, allocations: 104.1 kB / 1.203 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.5969, allocations: 23.7 kB / 1.203 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.5969, allocations: 25.7 kB / 1.203 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5971, allocations: 326.8 kB / 1.203 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.5973, allocations: 55.88 kB / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.5975, allocations: 82.58 kB / 1.203 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.5979, allocations: 120.8 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.598, allocations: 0 / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004829/0.5984, allocations: 157.4 kB / 1.203 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5985, allocations: 6.188 kB / 1.203 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5985, allocations: 0 / 1.203 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5985, allocations: 4 kB / 1.203 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.5988, allocations: 35.89 kB / 1.204 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5988, allocations: 0 / 1.204 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.599, allocations: 23.92 kB / 1.204 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.599, allocations: 7.875 kB / 1.204 GB, free: 13.04 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.0001121/0.5991, allocations: 121.8 kB / 1.204 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.5992, allocations: 15.91 kB / 1.204 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.5992, allocations: 12.72 kB / 1.204 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5992, allocations: 4 kB / 1.204 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5993, allocations: 0 / 1.204 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5993, allocations: 0 / 1.204 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/0.6001, allocations: 470.2 kB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6001, allocations: 0 / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.6003, allocations: 31.97 kB / 1.204 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6003, allocations: 0 / 1.204 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.6003, allocations: 3.984 kB / 1.204 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6004, allocations: 3.938 kB / 1.204 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6004, allocations: 4 kB / 1.204 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.6009, allocations: 255.3 kB / 1.204 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.601, allocations: 92.89 kB / 1.205 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.601, allocations: 4 kB / 1.205 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.6012, allocations: 23.83 kB / 1.205 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.6012, allocations: 7.984 kB / 1.205 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.6013, allocations: 7.984 kB / 1.205 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.6013, allocations: 107.3 kB / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.6013, allocations: 0 / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002671/0.6016, allocations: 28 kB / 1.205 GB, free: 11.77 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.0001883/0.6018, allocations: 111.2 kB / 1.205 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.6023, allocations: 123.9 kB / 1.205 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6023, allocations: 0 / 1.205 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.6025, allocations: 71.88 kB / 1.205 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.6029, allocations: 24.69 kB / 1.205 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.6035, allocations: 268.7 kB / 1.205 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.6038, allocations: 0.7043 MB / 1.206 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.604, allocations: 28.39 kB / 1.206 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.604, allocations: 11.44 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.604, allocations: 4 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of Templates: time 0.004631/0.6087, allocations: 1.755 MB / 1.208 GB, free: 8.648 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/jenkins/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