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.00139/0.00139, allocations: 105.6 kB / 16.41 MB, free: 6.504 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.001511/0.001511, allocations: 189.7 kB / 17.34 MB, free: 5.727 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.376/1.376, allocations: 222.9 MB / 241 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.675/2.675, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 60.11 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.821, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002712/0.8237, allocations: 1.639 MB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1566/0.9803, allocations: 151.6 MB / 1.317 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.9804, allocations: 0 / 1.317 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.9806, allocations: 19.81 kB / 1.317 GB, free: 10 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.9809, allocations: 43.7 kB / 1.317 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.9813, allocations: 143.4 kB / 1.317 GB, free: 9.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.9814, allocations: 119.6 kB / 1.317 GB, free: 9.703 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.9816, allocations: 37.36 kB / 1.317 GB, free: 9.664 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.9827, allocations: 170.8 kB / 1.317 GB, free: 9.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.9828, allocations: 47.77 kB / 1.317 GB, free: 9.473 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.9828, allocations: 8 kB / 1.317 GB, free: 9.465 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.9831, allocations: 175.7 kB / 1.318 GB, free: 9.293 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.9832, allocations: 27.86 kB / 1.318 GB, free: 9.266 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.9833, allocations: 51.73 kB / 1.318 GB, free: 9.215 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.9836, allocations: 183.9 kB / 1.318 GB, free: 9.039 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9836, allocations: 0 / 1.318 GB, free: 9.039 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.066e-06/0.9836, allocations: 3.984 kB / 1.318 GB, free: 9.035 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.9836, allocations: 0 / 1.318 GB, free: 9.035 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.0005669/0.9842, allocations: 450.6 kB / 1.318 GB, free: 8.547 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.9842, allocations: 12.03 kB / 1.318 GB, free: 8.535 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.9851, allocations: 79.98 kB / 1.318 GB, free: 8.457 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.9854, allocations: 210.8 kB / 1.319 GB, free: 8.211 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.9854, allocations: 8 kB / 1.319 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.9854, allocations: 8 kB / 1.319 GB, free: 8.195 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.9858, allocations: 137.5 kB / 1.319 GB, free: 8.055 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.9858, allocations: 0 / 1.319 GB, free: 8.055 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.9858, allocations: 4 kB / 1.319 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9859, allocations: 3.938 kB / 1.319 GB, free: 8.047 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.9863, allocations: 135.9 kB / 1.319 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.9871, allocations: 428.3 kB / 1.319 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.9878, allocations: 247.7 kB / 1.32 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.988, allocations: 72.8 kB / 1.32 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.9881, allocations: 4 kB / 1.32 GB, free: 7.098 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.9881, allocations: 34.56 kB / 1.32 GB, free: 7.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.9881, allocations: 0 / 1.32 GB, free: 7.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007318/0.9888, allocations: 217.4 kB / 1.32 GB, free: 6.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.9889, allocations: 55.34 kB / 1.32 GB, free: 6.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.989, allocations: 148.9 kB / 1.32 GB, free: 6.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.989, allocations: 25.7 kB / 1.32 GB, free: 6.586 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.9891, allocations: 104.1 kB / 1.32 GB, free: 6.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.9891, allocations: 35.86 kB / 1.32 GB, free: 6.445 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.9892, allocations: 21.72 kB / 1.32 GB, free: 6.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9893, allocations: 322.8 kB / 1.321 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.9895, allocations: 55.94 kB / 1.321 GB, free: 6.039 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.9897, allocations: 78.52 kB / 1.321 GB, free: 5.953 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.9901, allocations: 116.8 kB / 1.321 GB, free: 5.836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9901, allocations: 0 / 1.321 GB, free: 5.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004513/0.9906, allocations: 165.5 kB / 1.321 GB, free: 5.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9906, allocations: 4 kB / 1.321 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.9906, allocations: 0 / 1.321 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.9906, allocations: 3.984 kB / 1.321 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.9908, allocations: 27.97 kB / 1.321 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.9909, allocations: 0.5469 kB / 1.321 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.991, allocations: 27.86 kB / 1.321 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.991, allocations: 11.94 kB / 1.321 GB, free: 5.594 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 9.523e-05/0.9911, allocations: 120.8 kB / 1.321 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.9912, allocations: 7.953 kB / 1.321 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.9912, allocations: 20.7 kB / 1.321 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9912, allocations: 0 / 1.321 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9912, allocations: 0 / 1.321 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.9913, allocations: 7.938 kB / 1.321 GB, free: 5.434 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007761/0.992, allocations: 470.2 kB / 1.322 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.992, allocations: 4 kB / 1.322 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.9922, allocations: 27.97 kB / 1.322 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.9922, allocations: 0 / 1.322 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.9923, allocations: 8 kB / 1.322 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.9923, allocations: 3.938 kB / 1.322 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9923, allocations: 0 / 1.322 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.9928, allocations: 259.3 kB / 1.322 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.9928, allocations: 85.06 kB / 1.322 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.9929, allocations: 7.984 kB / 1.322 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.993, allocations: 15.92 kB / 1.322 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.9931, allocations: 7.984 kB / 1.322 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.9931, allocations: 4 kB / 1.322 GB, free: 4.469 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.834e-05/0.9932, allocations: 114.1 kB / 1.322 GB, free: 4.359 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9932, allocations: 4 kB / 1.322 GB, free: 4.355 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002722/0.9935, allocations: 35.89 kB / 1.322 GB, free: 4.32 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.0001629/0.9936, allocations: 111.2 kB / 1.322 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.9941, allocations: 123.8 kB / 1.322 GB, free: 4.082 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9941, allocations: 4 kB / 1.322 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.9943, allocations: 63.94 kB / 1.322 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.9947, allocations: 33.84 kB / 1.322 GB, free: 3.984 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.9952, allocations: 260.5 kB / 1.323 GB, free: 3.699 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.9955, allocations: 0.704 MB / 1.323 GB, free: 2.969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.9956, allocations: 19.42 kB / 1.323 GB, free: 2.949 MB / 1.045 GB Notification: Performance of SimCode: time 2.4e-07/0.9956, allocations: 4 kB / 1.323 GB, free: 2.945 MB / 1.045 GB Notification: Performance of Templates: time 0.003318/0.9989, allocations: 1.724 MB / 1.325 GB, free: 1.234 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/jenkins1/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