Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001626/0.001626, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.001728/0.001728, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.461/1.461, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 65.91 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3323, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003604/0.336, allocations: 1.641 MB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6903/1.026, allocations: 151.5 MB / 1.214 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/1.026, allocations: 0.9688 kB / 1.214 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/1.027, allocations: 16.83 kB / 1.214 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/1.027, allocations: 39.62 kB / 1.214 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/1.027, allocations: 153.8 kB / 1.214 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/1.028, allocations: 118.1 kB / 1.215 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/1.028, allocations: 31.34 kB / 1.215 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/1.029, allocations: 165.2 kB / 1.215 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/1.029, allocations: 41.31 kB / 1.215 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/1.029, allocations: 6.875 kB / 1.215 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/1.029, allocations: 180.1 kB / 1.215 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/1.03, allocations: 21.52 kB / 1.215 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/1.03, allocations: 45.33 kB / 1.215 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/1.03, allocations: 191.6 kB / 1.215 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.03, allocations: 1.062 kB / 1.215 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.243e-06/1.03, allocations: 4 kB / 1.215 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.03, allocations: 0 / 1.215 GB, free: 10.34 MB / 0.9356 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.0006668/1.031, allocations: 435.9 kB / 1.216 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.031, allocations: 10.16 kB / 1.216 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/1.032, allocations: 89.72 kB / 1.216 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/1.032, allocations: 207 kB / 1.216 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.032, allocations: 8.438 kB / 1.216 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/1.032, allocations: 5.719 kB / 1.216 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/1.032, allocations: 136.5 kB / 1.216 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.032, allocations: 0 / 1.216 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/1.032, allocations: 4.969 kB / 1.216 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.032, allocations: 5.25 kB / 1.216 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005577/1.033, allocations: 136.4 kB / 1.216 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008605/1.034, allocations: 415.4 kB / 1.217 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/1.035, allocations: 253.9 kB / 1.217 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/1.035, allocations: 75.2 kB / 1.217 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/1.035, allocations: 5.109 kB / 1.217 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/1.035, allocations: 35.78 kB / 1.217 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/1.035, allocations: 0 / 1.217 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0008136/1.036, allocations: 222.2 kB / 1.217 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.036, allocations: 56.59 kB / 1.217 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/1.036, allocations: 146.1 kB / 1.217 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/1.036, allocations: 29.7 kB / 1.217 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/1.036, allocations: 104.5 kB / 1.217 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/1.036, allocations: 28.31 kB / 1.217 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/1.036, allocations: 19.62 kB / 1.218 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.036, allocations: 325.8 kB / 1.218 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/1.037, allocations: 60.47 kB / 1.218 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/1.037, allocations: 76.02 kB / 1.218 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/1.037, allocations: 117.6 kB / 1.218 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.037, allocations: 0 / 1.218 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000505/1.038, allocations: 165.1 kB / 1.218 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.038, allocations: 9.625 kB / 1.218 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.038, allocations: 0 / 1.218 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.038, allocations: 0 / 1.218 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/1.038, allocations: 31.5 kB / 1.218 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.038, allocations: 0.5469 kB / 1.218 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/1.038, allocations: 17.75 kB / 1.218 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/1.038, allocations: 2.125 kB / 1.218 GB, free: 7.719 MB / 0.9356 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.0001059/1.038, allocations: 124.4 kB / 1.218 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/1.038, allocations: 8.625 kB / 1.218 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/1.039, allocations: 20.3 kB / 1.218 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.039, allocations: 1.25 kB / 1.218 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.039, allocations: 0 / 1.218 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.039, allocations: 3.938 kB / 1.218 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008827/1.039, allocations: 478.1 kB / 1.219 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.039, allocations: 1.469 kB / 1.219 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/1.04, allocations: 30.12 kB / 1.219 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.04, allocations: 0 / 1.219 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.04, allocations: 5.375 kB / 1.219 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.04, allocations: 1.406 kB / 1.219 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.04, allocations: 3.938 kB / 1.219 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/1.04, allocations: 258.8 kB / 1.219 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/1.04, allocations: 85.14 kB / 1.219 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/1.04, allocations: 3.984 kB / 1.219 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/1.041, allocations: 12.23 kB / 1.219 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/1.041, allocations: 16.05 kB / 1.219 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.041, allocations: 1.375 kB / 1.219 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.097e-05/1.041, allocations: 110.5 kB / 1.219 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.041, allocations: 0 / 1.219 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002784/1.041, allocations: 35.28 kB / 1.219 GB, free: 6.703 MB / 0.9356 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.0001623/1.041, allocations: 115.9 kB / 1.22 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005132/1.042, allocations: 131.3 kB / 1.22 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.042, allocations: 4 kB / 1.22 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/1.042, allocations: 65.06 kB / 1.22 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/1.042, allocations: 31.47 kB / 1.22 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/1.043, allocations: 263.7 kB / 1.22 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/1.043, allocations: 0.7033 MB / 1.221 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/1.043, allocations: 23.67 kB / 1.221 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/1.043, allocations: 0 / 1.221 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.0036/1.047, allocations: 1.715 MB / 1.222 GB, free: 4.68 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches