Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009568/0.009568, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001786/0.001786, allocations: 197.7 kB / 16.67 MB, free: 5.965 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.52/2.52, allocations: 461.9 MB / 0.7347 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.00224, allocations: 71.89 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8239, allocations: 157.4 MB / 1.208 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00286/0.8268, allocations: 1.68 MB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006948/0.8275, allocations: 394.8 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.8276, allocations: 0 / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.478e-05/0.8277, allocations: 11.86 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.8278, allocations: 19.8 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.8282, allocations: 122.5 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.8284, allocations: 119.5 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.8285, allocations: 39.98 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.8286, allocations: 35.86 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.8287, allocations: 39.78 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.8287, allocations: 8 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.8288, allocations: 67.88 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.8289, allocations: 19.97 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.8289, allocations: 51.73 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.8292, allocations: 123.5 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8292, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8292, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.8292, allocations: 4 kB / 1.21 GB, free: 10.82 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000566/0.8298, allocations: 424.9 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.8298, allocations: 12.03 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.83, allocations: 28.81 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.8303, allocations: 196.1 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.8303, allocations: 34.27 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.8304, allocations: 12.38 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.8306, allocations: 98.2 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8307, allocations: 3.938 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.8307, allocations: 11.97 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8307, allocations: 4 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.8309, allocations: 75.94 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006938/0.8316, allocations: 392.4 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.8322, allocations: 130.6 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.8323, allocations: 48.83 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.8323, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8324, allocations: 34.56 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.8324, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004174/0.8328, allocations: 125.5 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.8328, allocations: 55.41 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.8329, allocations: 143.7 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.833, allocations: 29.7 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.833, allocations: 104.1 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.8331, allocations: 27.69 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.8331, allocations: 21.72 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.8332, allocations: 318.8 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.8333, allocations: 27.98 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.8334, allocations: 49.69 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.8337, allocations: 77.67 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8337, allocations: 0 / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002756/0.8339, allocations: 113.5 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.834, allocations: 4 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.834, allocations: 4 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.834, allocations: 0 / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.8341, allocations: 19.92 kB / 1.213 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8341, allocations: 4 kB / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.8342, allocations: 7.984 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.8342, allocations: 4 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.369e-05/0.8343, allocations: 125.8 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.8344, allocations: 7.906 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.8344, allocations: 12.72 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.8344, allocations: 3.938 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8344, allocations: 0 / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8344, allocations: 0 / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.8346, allocations: 205.6 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8346, allocations: 0 / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.8347, allocations: 19.92 kB / 1.213 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8347, allocations: 3.938 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.8348, allocations: 4 kB / 1.213 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8348, allocations: 7.938 kB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8348, allocations: 0 / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.8351, allocations: 203.9 kB / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.8351, allocations: 84.95 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.8352, allocations: 4 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.8353, allocations: 19.92 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.8354, allocations: 7.984 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.8354, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.8355, allocations: 105.3 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8355, allocations: 0 / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002499/0.8357, allocations: 27.91 kB / 1.214 GB, free: 7.062 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 (7): * Single equations (assignments): 7 * 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 9.79e-05/0.8358, allocations: 95.25 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.8361, allocations: 83.94 kB / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8361, allocations: 0 / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.8362, allocations: 39.97 kB / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.8366, allocations: 23.97 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.837, allocations: 207 kB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.8372, allocations: 0.6924 MB / 1.215 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.815e-05/0.8373, allocations: 16.66 kB / 1.215 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.8374, allocations: 11.44 kB / 1.215 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.8374, allocations: 0 / 1.215 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of Templates: time 0.003781/0.8412, allocations: 1.493 MB / 1.216 GB, free: 4.367 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches