Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009752/0.009752, allocations: 98.83 kB / 15.73 MB, free: 6.031 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.002382/0.002382, allocations: 196.5 kB / 16.67 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 67.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9169/0.9182, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002659/0.9209, allocations: 1.651 MB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1755/1.096, allocations: 151.5 MB / 1.316 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/1.097, allocations: 3.938 kB / 1.316 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/1.097, allocations: 11.86 kB / 1.316 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003414/1.097, allocations: 47.66 kB / 1.316 GB, free: 10 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/1.098, allocations: 143.4 kB / 1.316 GB, free: 9.859 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/1.098, allocations: 127.6 kB / 1.317 GB, free: 9.734 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/1.098, allocations: 25.39 kB / 1.317 GB, free: 9.707 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/1.099, allocations: 170.4 kB / 1.317 GB, free: 9.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/1.1, allocations: 51.78 kB / 1.317 GB, free: 9.516 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/1.1, allocations: 8 kB / 1.317 GB, free: 9.508 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/1.1, allocations: 175.7 kB / 1.317 GB, free: 9.336 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/1.1, allocations: 23.92 kB / 1.317 GB, free: 9.312 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/1.1, allocations: 47.72 kB / 1.317 GB, free: 9.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004473/1.101, allocations: 191.8 kB / 1.317 GB, free: 9.082 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.101, allocations: 3.938 kB / 1.317 GB, free: 9.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/1.101, allocations: 0 / 1.317 GB, free: 9.078 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.101, allocations: 0 / 1.317 GB, free: 9.078 MB / 1.045 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.0007885/1.101, allocations: 450.6 kB / 1.318 GB, free: 8.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.102, allocations: 12.03 kB / 1.318 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/1.103, allocations: 79.98 kB / 1.318 GB, free: 8.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/1.103, allocations: 213 kB / 1.318 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/1.103, allocations: 8 kB / 1.318 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/1.103, allocations: 4 kB / 1.318 GB, free: 8.242 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/1.103, allocations: 137.5 kB / 1.318 GB, free: 8.102 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.103, allocations: 4 kB / 1.318 GB, free: 8.098 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/1.103, allocations: 0 / 1.318 GB, free: 8.098 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/1.103, allocations: 11.88 kB / 1.318 GB, free: 8.086 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/1.104, allocations: 135.9 kB / 1.318 GB, free: 7.953 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/1.105, allocations: 416.3 kB / 1.319 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/1.105, allocations: 247.7 kB / 1.319 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/1.106, allocations: 84.72 kB / 1.319 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/1.106, allocations: 4 kB / 1.319 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.106, allocations: 30.56 kB / 1.319 GB, free: 7.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/1.106, allocations: 0 / 1.319 GB, free: 7.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007668/1.107, allocations: 217.4 kB / 1.319 GB, free: 6.879 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/1.107, allocations: 51.41 kB / 1.319 GB, free: 6.816 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/1.107, allocations: 148.7 kB / 1.319 GB, free: 6.664 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.107, allocations: 25.7 kB / 1.319 GB, free: 6.633 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/1.107, allocations: 104.1 kB / 1.319 GB, free: 6.527 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/1.107, allocations: 35.88 kB / 1.319 GB, free: 6.492 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/1.107, allocations: 25.7 kB / 1.32 GB, free: 6.461 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.107, allocations: 318.8 kB / 1.32 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/1.107, allocations: 55.88 kB / 1.32 GB, free: 6.086 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/1.107, allocations: 78.52 kB / 1.32 GB, free: 6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/1.108, allocations: 121.2 kB / 1.32 GB, free: 5.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.108, allocations: 0 / 1.32 GB, free: 5.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004965/1.108, allocations: 165.5 kB / 1.32 GB, free: 5.711 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.108, allocations: 8 kB / 1.32 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.108, allocations: 0 / 1.32 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.108, allocations: 4 kB / 1.32 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/1.109, allocations: 35.91 kB / 1.32 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.109, allocations: 0 / 1.32 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/1.109, allocations: 27.86 kB / 1.32 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/1.109, allocations: 4 kB / 1.32 GB, free: 5.633 MB / 1.045 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.0001107/1.109, allocations: 117.8 kB / 1.32 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/1.109, allocations: 11.94 kB / 1.32 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/1.109, allocations: 24.66 kB / 1.32 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.109, allocations: 0 / 1.32 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.109, allocations: 0 / 1.32 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.109, allocations: 0 / 1.32 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/1.11, allocations: 466.2 kB / 1.321 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.11, allocations: 4 kB / 1.321 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/1.11, allocations: 23.97 kB / 1.321 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.11, allocations: 0 / 1.321 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/1.11, allocations: 11.98 kB / 1.321 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.11, allocations: 3.938 kB / 1.321 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.11, allocations: 0 / 1.321 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/1.111, allocations: 251.4 kB / 1.321 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/1.111, allocations: 85.06 kB / 1.321 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/1.111, allocations: 7.938 kB / 1.321 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/1.111, allocations: 19.92 kB / 1.321 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/1.111, allocations: 7.984 kB / 1.321 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/1.111, allocations: 4 kB / 1.321 GB, free: 4.516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.617e-05/1.111, allocations: 113.9 kB / 1.321 GB, free: 4.406 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.111, allocations: 0 / 1.321 GB, free: 4.406 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002762/1.111, allocations: 35.89 kB / 1.321 GB, free: 4.371 MB / 1.045 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.000195/1.112, allocations: 111.2 kB / 1.322 GB, free: 4.254 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004968/1.112, allocations: 123.9 kB / 1.322 GB, free: 4.133 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.112, allocations: 0 / 1.322 GB, free: 4.133 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/1.112, allocations: 71.88 kB / 1.322 GB, free: 4.062 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/1.113, allocations: 39.91 kB / 1.322 GB, free: 4.023 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/1.113, allocations: 231.5 kB / 1.322 GB, free: 3.773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/1.114, allocations: 0.7118 MB / 1.323 GB, free: 3.035 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001301/1.114, allocations: 20.42 kB / 1.323 GB, free: 3.016 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/1.114, allocations: 19.42 kB / 1.323 GB, free: 2.996 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/1.114, allocations: 0 / 1.323 GB, free: 2.996 MB / 1.045 GB Notification: Performance of Templates: time 0.004836/1.119, allocations: 1.945 MB / 1.325 GB, free: 1.078 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches