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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006803/0.006803, allocations: 99.64 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.001289/0.00129, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.429/1.429, 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 12.0.0-master/package.mo): time 2.684/2.684, allocations: 472.6 MB / 0.7453 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.89 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8412, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002656/0.8439, allocations: 1.669 MB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.8446, allocations: 407.9 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.8447, allocations: 0 / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.8448, allocations: 11.86 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.8449, allocations: 19.8 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.8454, allocations: 114.9 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.8456, allocations: 115.6 kB / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.8457, allocations: 47.81 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.8458, allocations: 31.92 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.8459, allocations: 43.78 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.8459, allocations: 8 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.8461, allocations: 63.94 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.8461, allocations: 27.91 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.8462, allocations: 43.8 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.8464, allocations: 136 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8464, allocations: 0 / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8464, allocations: 0 / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8464, allocations: 0 / 1.228 GB, free: 10.76 MB / 0.9512 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.000624/0.8471, allocations: 418.9 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.8471, allocations: 15.91 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.8473, allocations: 36.86 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.8475, allocations: 196.2 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.8476, allocations: 30.27 kB / 1.229 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.8476, allocations: 12.38 kB / 1.229 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.8479, allocations: 112 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8479, allocations: 3.938 kB / 1.229 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.8479, allocations: 4 kB / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.848, allocations: 0 / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.8482, allocations: 79.94 kB / 1.229 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.8488, allocations: 380.5 kB / 1.229 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.8494, allocations: 134.6 kB / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.8495, allocations: 44.83 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.8495, allocations: 0 / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.8495, allocations: 30.56 kB / 1.23 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.8496, allocations: 4 kB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004174/0.85, allocations: 133.5 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.85, allocations: 51.41 kB / 1.23 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.8501, allocations: 141.8 kB / 1.23 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.8502, allocations: 29.7 kB / 1.23 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.8502, allocations: 96.08 kB / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.8503, allocations: 39.88 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.8503, allocations: 17.72 kB / 1.23 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.8504, allocations: 322.8 kB / 1.23 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.8505, allocations: 23.98 kB / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.8506, allocations: 50 kB / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.8508, allocations: 77.81 kB / 1.231 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8509, allocations: 0 / 1.231 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002559/0.8511, allocations: 113.5 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8511, allocations: 6.031 kB / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.8512, allocations: 0 / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8512, allocations: 4 kB / 1.231 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.8513, allocations: 23.95 kB / 1.231 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.8513, allocations: 3.938 kB / 1.231 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.8514, allocations: 23.92 kB / 1.231 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.8514, allocations: 0 / 1.231 GB, free: 7.918 MB / 0.9512 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.239e-05/0.8515, allocations: 118.3 kB / 1.231 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.8515, allocations: 7.953 kB / 1.231 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.8516, allocations: 16.72 kB / 1.231 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8516, allocations: 3.938 kB / 1.231 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8516, allocations: 3.984 kB / 1.231 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8516, allocations: 4 kB / 1.231 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.8518, allocations: 205.5 kB / 1.231 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8518, allocations: 0 / 1.231 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.8519, allocations: 15.98 kB / 1.231 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8519, allocations: 0 / 1.231 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.8519, allocations: 0 / 1.231 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8519, allocations: 3.938 kB / 1.231 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8519, allocations: 4 kB / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.8522, allocations: 207.4 kB / 1.231 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.8523, allocations: 81.06 kB / 1.231 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.8523, allocations: 4 kB / 1.231 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.8525, allocations: 15.92 kB / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.8525, allocations: 7.984 kB / 1.231 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.8525, allocations: 0 / 1.231 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.8526, allocations: 103.3 kB / 1.232 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8526, allocations: 4 kB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002412/0.8529, allocations: 20 kB / 1.232 GB, free: 7.012 MB / 0.9512 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 0.0001058/0.853, allocations: 103.2 kB / 1.232 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.8532, allocations: 71.89 kB / 1.232 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8532, allocations: 0 / 1.232 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.8533, allocations: 39.97 kB / 1.232 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.8537, allocations: 24.05 kB / 1.232 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.8541, allocations: 214.8 kB / 1.232 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.8544, allocations: 0.6963 MB / 1.233 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.803e-05/0.8544, allocations: 12.64 kB / 1.233 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.8545, allocations: 11.44 kB / 1.233 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.8545, allocations: 3.938 kB / 1.233 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of Templates: time 0.003708/0.8582, allocations: 1.471 MB / 1.234 GB, free: 4.332 MB / 0.9512 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