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.00131/0.00131, allocations: 111.8 kB / 15.99 MB, free: 5.914 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.001417/0.001417, allocations: 187.9 kB / 16.91 MB, free: 5.758 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.449/1.449, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.398/2.398, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.08 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2852, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003303/0.2885, allocations: 1.704 MB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6981/0.9866, allocations: 149.3 MB / 1.097 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.9868, allocations: 1.188 kB / 1.097 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.987, allocations: 15.47 kB / 1.097 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.9873, allocations: 38.97 kB / 1.097 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.9878, allocations: 130.9 kB / 1.097 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.988, allocations: 121.9 kB / 1.098 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.9881, allocations: 33.45 kB / 1.098 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.99, allocations: 169.6 kB / 1.098 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.9901, allocations: 43.53 kB / 1.098 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.9901, allocations: 6.562 kB / 1.098 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.9906, allocations: 191.4 kB / 1.098 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.9907, allocations: 25.05 kB / 1.098 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.9908, allocations: 46.33 kB / 1.098 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.991, allocations: 129.1 kB / 1.098 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9911, allocations: 1.375 kB / 1.098 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9911, allocations: 0 / 1.098 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9911, allocations: 0.7812 kB / 1.098 GB, free: 5.766 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.0008667/0.9919, allocations: 448.8 kB / 1.099 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.992, allocations: 9.281 kB / 1.099 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.9931, allocations: 82.52 kB / 1.099 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.9933, allocations: 209.6 kB / 1.099 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.9933, allocations: 3.891 kB / 1.099 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.9934, allocations: 17.19 kB / 1.099 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.9938, allocations: 135.1 kB / 1.099 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.9938, allocations: 0 / 1.099 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.9939, allocations: 1.125 kB / 1.099 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.9939, allocations: 5.469 kB / 1.099 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/0.9944, allocations: 137.6 kB / 1.099 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008063/0.9953, allocations: 415 kB / 1.1 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/0.996, allocations: 250.2 kB / 1.1 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.9963, allocations: 70.97 kB / 1.1 GB, free: 20.69 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.9963, allocations: 11.89 kB / 1.1 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.9964, allocations: 35.5 kB / 1.1 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.9964, allocations: 1.203 kB / 1.1 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0008523/0.9972, allocations: 211 kB / 1.1 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9973, allocations: 52.31 kB / 1.1 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.9974, allocations: 148.3 kB / 1.1 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.9974, allocations: 26.48 kB / 1.1 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.9975, allocations: 106.9 kB / 1.1 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.9975, allocations: 23.83 kB / 1.1 GB, free: 20.31 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.9976, allocations: 28.42 kB / 1.101 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.9977, allocations: 331.5 kB / 1.101 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.998, allocations: 50.22 kB / 1.101 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.9982, allocations: 74.94 kB / 1.101 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/0.9987, allocations: 126.5 kB / 1.101 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9987, allocations: 0 / 1.101 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005316/0.9992, allocations: 164.6 kB / 1.101 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9993, allocations: 4.766 kB / 1.101 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9993, allocations: 0 / 1.101 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.9993, allocations: 1.438 kB / 1.101 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.9995, allocations: 26.56 kB / 1.101 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.9995, allocations: 1.812 kB / 1.101 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.9997, allocations: 23.17 kB / 1.101 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.9997, allocations: 6.422 kB / 1.101 GB, free: 19.89 MB / 0.8731 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.0001028/0.9998, allocations: 127.9 kB / 1.101 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.9999, allocations: 8.797 kB / 1.101 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.9999, allocations: 16.98 kB / 1.101 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.9999, allocations: 1.344 kB / 1.101 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1, allocations: 7.031 kB / 1.101 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1, allocations: 0.6562 kB / 1.101 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008467/1.001, allocations: 462.7 kB / 1.102 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.001, allocations: 3.938 kB / 1.102 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/1.001, allocations: 34.19 kB / 1.102 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.001, allocations: 2.25 kB / 1.102 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.001, allocations: 2.266 kB / 1.102 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.001, allocations: 0.9062 kB / 1.102 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.001, allocations: 3.938 kB / 1.102 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/1.002, allocations: 257.4 kB / 1.102 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/1.002, allocations: 88.89 kB / 1.102 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/1.002, allocations: 5.312 kB / 1.102 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/1.002, allocations: 15.38 kB / 1.102 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/1.002, allocations: 10.41 kB / 1.102 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/1.002, allocations: 10.72 kB / 1.102 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.378e-05/1.002, allocations: 115 kB / 1.102 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.002, allocations: 0.9062 kB / 1.102 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002975/1.002, allocations: 31.64 kB / 1.102 GB, free: 19.12 MB / 0.8731 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.0001815/1.003, allocations: 112.4 kB / 1.103 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005282/1.003, allocations: 132 kB / 1.103 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.003, allocations: 0 / 1.103 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/1.003, allocations: 67.55 kB / 1.103 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/1.004, allocations: 33.5 kB / 1.103 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/1.004, allocations: 295.1 kB / 1.103 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.005, allocations: 0.7016 MB / 1.104 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/1.005, allocations: 16.53 kB / 1.104 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/1.005, allocations: 1.094 kB / 1.104 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.004518/1.009, allocations: 1.718 MB / 1.105 GB, free: 17.99 MB / 0.8731 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/jenkins1/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