Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001167/0.001167, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001973/0.001973, allocations: 198 kB / 16.25 MB, free: 6.625 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8681/0.8696, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002715/0.8723, allocations: 1.696 MB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.213/1.085, allocations: 149.4 MB / 1.097 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/1.085, allocations: 0 / 1.097 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/1.086, allocations: 15.86 kB / 1.097 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/1.086, allocations: 31.78 kB / 1.097 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/1.086, allocations: 139.5 kB / 1.097 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000174/1.087, allocations: 119.6 kB / 1.097 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/1.087, allocations: 27.36 kB / 1.097 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/1.089, allocations: 176.2 kB / 1.097 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/1.089, allocations: 43.78 kB / 1.097 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/1.089, allocations: 8 kB / 1.097 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/1.089, allocations: 187.6 kB / 1.097 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/1.089, allocations: 19.92 kB / 1.097 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/1.089, allocations: 47.73 kB / 1.097 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/1.089, allocations: 191.5 kB / 1.098 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.089, allocations: 0 / 1.098 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.089, allocations: 0 / 1.098 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.501e-06/1.089, allocations: 0 / 1.098 GB, free: 9.484 MB / 0.8575 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/1.09, allocations: 450.9 kB / 1.098 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.09, allocations: 12.03 kB / 1.098 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009993/1.091, allocations: 79.94 kB / 1.098 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/1.091, allocations: 206.7 kB / 1.098 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/1.091, allocations: 4 kB / 1.098 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/1.091, allocations: 8 kB / 1.098 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/1.092, allocations: 133.5 kB / 1.098 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.092, allocations: 0 / 1.098 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/1.092, allocations: 8 kB / 1.098 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.092, allocations: 7.938 kB / 1.098 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/1.093, allocations: 131.9 kB / 1.099 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/1.093, allocations: 416.3 kB / 1.099 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/1.094, allocations: 251.7 kB / 1.099 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/1.094, allocations: 72.8 kB / 1.099 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/1.094, allocations: 7.984 kB / 1.099 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/1.094, allocations: 34.56 kB / 1.099 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/1.094, allocations: 0 / 1.099 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007604/1.095, allocations: 213.4 kB / 1.1 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/1.095, allocations: 55.34 kB / 1.1 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/1.095, allocations: 153.3 kB / 1.1 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/1.095, allocations: 25.7 kB / 1.1 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/1.095, allocations: 104 kB / 1.1 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/1.096, allocations: 31.78 kB / 1.1 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/1.096, allocations: 21.72 kB / 1.1 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.096, allocations: 322.8 kB / 1.1 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/1.096, allocations: 55.94 kB / 1.1 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/1.096, allocations: 82.83 kB / 1.1 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/1.097, allocations: 116.9 kB / 1.1 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.097, allocations: 0 / 1.1 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004868/1.097, allocations: 165.4 kB / 1.101 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.097, allocations: 8 kB / 1.101 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.097, allocations: 0 / 1.101 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/1.097, allocations: 0 / 1.101 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/1.097, allocations: 31.97 kB / 1.101 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.097, allocations: 0 / 1.101 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/1.098, allocations: 19.88 kB / 1.101 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/1.098, allocations: 4 kB / 1.101 GB, free: 6.066 MB / 0.8575 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.000108/1.098, allocations: 125.7 kB / 1.101 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/1.098, allocations: 7.906 kB / 1.101 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/1.098, allocations: 20.7 kB / 1.101 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.098, allocations: 3.984 kB / 1.101 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.098, allocations: 0 / 1.101 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.098, allocations: 4 kB / 1.101 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000801/1.099, allocations: 474.2 kB / 1.101 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.099, allocations: 0 / 1.101 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/1.099, allocations: 23.97 kB / 1.101 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.099, allocations: 0 / 1.101 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.099, allocations: 4 kB / 1.101 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/1.099, allocations: 7.922 kB / 1.101 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.099, allocations: 0 / 1.101 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/1.099, allocations: 259.2 kB / 1.102 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/1.099, allocations: 89 kB / 1.102 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/1.099, allocations: 0 / 1.102 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/1.1, allocations: 23.92 kB / 1.102 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/1.1, allocations: 11.92 kB / 1.102 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.1, allocations: 4 kB / 1.102 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001216/1.1, allocations: 117.1 kB / 1.102 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.1, allocations: 0 / 1.102 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002747/1.1, allocations: 27.94 kB / 1.102 GB, free: 4.789 MB / 0.8575 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.0001842/1.1, allocations: 115.2 kB / 1.102 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005035/1.101, allocations: 127.8 kB / 1.102 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.101, allocations: 0 / 1.102 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/1.101, allocations: 71.92 kB / 1.102 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/1.102, allocations: 36.5 kB / 1.102 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/1.102, allocations: 259.1 kB / 1.102 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/1.103, allocations: 0.7078 MB / 1.103 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001642/1.103, allocations: 28.36 kB / 1.103 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/1.103, allocations: 19.42 kB / 1.103 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/1.103, allocations: 0 / 1.103 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of Templates: time 0.00531/1.108, allocations: 1.823 MB / 1.105 GB, free: 1.578 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches