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.001757/0.001757, allocations: 101.5 kB / 15.99 MB, free: 6.359 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.001918/0.001918, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 482.4 MB / 0.755 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 64.75 kB / 0.924 GB, free: 368 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8581, allocations: 162.2 MB / 1.082 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002685/0.8609, allocations: 1.703 MB / 1.084 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1855/1.046, allocations: 149.4 MB / 1.23 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/1.047, allocations: 0 / 1.23 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/1.047, allocations: 11.88 kB / 1.23 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/1.047, allocations: 39.75 kB / 1.23 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/1.047, allocations: 127.6 kB / 1.23 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/1.048, allocations: 115.6 kB / 1.23 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/1.048, allocations: 35.34 kB / 1.23 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/1.05, allocations: 154.5 kB / 1.23 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/1.05, allocations: 51.75 kB / 1.23 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/1.05, allocations: 4 kB / 1.23 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/1.05, allocations: 195.6 kB / 1.231 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/1.05, allocations: 23.92 kB / 1.231 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/1.05, allocations: 43.73 kB / 1.231 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/1.051, allocations: 135.7 kB / 1.231 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.051, allocations: 0 / 1.231 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.186e-06/1.051, allocations: 0 / 1.231 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.71e-06/1.051, allocations: 3.938 kB / 1.231 GB, free: 6.719 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.000667/1.051, allocations: 443 kB / 1.231 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/1.051, allocations: 12.03 kB / 1.231 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/1.052, allocations: 79.94 kB / 1.231 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/1.053, allocations: 202.8 kB / 1.232 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/1.053, allocations: 15.94 kB / 1.232 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/1.053, allocations: 4 kB / 1.232 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/1.053, allocations: 140.4 kB / 1.232 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.053, allocations: 0 / 1.232 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/1.053, allocations: 0 / 1.232 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.053, allocations: 7.938 kB / 1.232 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/1.054, allocations: 135.9 kB / 1.232 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/1.055, allocations: 416.4 kB / 1.232 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/1.055, allocations: 243.7 kB / 1.232 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/1.056, allocations: 80.8 kB / 1.233 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/1.056, allocations: 0 / 1.233 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.056, allocations: 42.48 kB / 1.233 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/1.056, allocations: 0 / 1.233 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0007896/1.056, allocations: 225.3 kB / 1.233 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.057, allocations: 51.41 kB / 1.233 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/1.057, allocations: 144.3 kB / 1.233 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/1.057, allocations: 29.7 kB / 1.233 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/1.057, allocations: 104.1 kB / 1.233 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/1.057, allocations: 31.69 kB / 1.233 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/1.057, allocations: 21.72 kB / 1.233 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.057, allocations: 326.8 kB / 1.233 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/1.057, allocations: 51.94 kB / 1.234 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/1.058, allocations: 82.45 kB / 1.234 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/1.058, allocations: 112.8 kB / 1.234 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.058, allocations: 4 kB / 1.234 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005032/1.059, allocations: 165.5 kB / 1.234 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.059, allocations: 6.344 kB / 1.234 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.059, allocations: 4 kB / 1.234 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/1.059, allocations: 0 / 1.234 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/1.059, allocations: 27.91 kB / 1.234 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.059, allocations: 8 kB / 1.234 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/1.059, allocations: 23.91 kB / 1.234 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/1.059, allocations: 4 kB / 1.234 GB, free: 3.289 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.0001159/1.059, allocations: 122.5 kB / 1.234 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/1.059, allocations: 11.81 kB / 1.234 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/1.059, allocations: 20.7 kB / 1.234 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.059, allocations: 4 kB / 1.234 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.059, allocations: 3.938 kB / 1.234 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.059, allocations: 0 / 1.234 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008741/1.06, allocations: 462.3 kB / 1.235 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.06, allocations: 0 / 1.235 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/1.06, allocations: 27.97 kB / 1.235 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.06, allocations: 0 / 1.235 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/1.06, allocations: 4 kB / 1.235 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.06, allocations: 7.938 kB / 1.235 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.06, allocations: 3.984 kB / 1.235 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/1.061, allocations: 251.3 kB / 1.235 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/1.061, allocations: 85 kB / 1.235 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/1.061, allocations: 8 kB / 1.235 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/1.061, allocations: 19.92 kB / 1.235 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/1.061, allocations: 15.92 kB / 1.235 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/1.061, allocations: 0 / 1.235 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.442e-05/1.061, allocations: 113.5 kB / 1.235 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.061, allocations: 0 / 1.235 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002753/1.062, allocations: 35.94 kB / 1.235 GB, free: 2.02 MB / 0.9512 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.0001743/1.062, allocations: 107.2 kB / 1.235 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005328/1.062, allocations: 136.5 kB / 1.235 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.062, allocations: 0 / 1.235 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/1.063, allocations: 63.94 kB / 1.235 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/1.063, allocations: 42.09 kB / 1.235 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/1.064, allocations: 288.8 kB / 1.236 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/1.064, allocations: 0.7002 MB / 1.236 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/1.064, allocations: 19.42 kB / 1.236 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/1.064, allocations: 3.938 kB / 1.236 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of Templates: time 0.003864/1.068, allocations: 1.717 MB / 1.238 GB, free: 14.89 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