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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.282/2.282, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 182.8 kB / 0.4902 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.1 MB / 0.7992 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 96.27 kB / 0.9396 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 13.44 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2715, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.4681, allocations: 152.3 MB / 1.378 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.4685, allocations: 75.95 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.4798, allocations: 3.504 MB / 1.381 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4799, allocations: 0 / 1.381 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.4799, allocations: 0 / 1.381 GB, free: 9.336 MB / 0.8855 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.0006122/0.4805, allocations: 415 kB / 1.382 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4805, allocations: 8.562 kB / 1.382 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.4808, allocations: 35.78 kB / 1.382 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.4811, allocations: 189.3 kB / 1.382 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.4812, allocations: 37.69 kB / 1.382 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.4812, allocations: 8 kB / 1.382 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.4815, allocations: 105.6 kB / 1.382 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4815, allocations: 0 / 1.382 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.4815, allocations: 8 kB / 1.382 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4816, allocations: 0 / 1.382 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.4818, allocations: 95.83 kB / 1.382 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.4825, allocations: 392.4 kB / 1.383 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.4831, allocations: 142.6 kB / 1.383 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4831, allocations: 3.938 kB / 1.383 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.4832, allocations: 34.56 kB / 1.383 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.4832, allocations: 0 / 1.383 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004811/0.4837, allocations: 145.5 kB / 1.383 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.4837, allocations: 59.41 kB / 1.383 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4839, allocations: 123.3 kB / 1.383 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4839, allocations: 29.7 kB / 1.383 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.484, allocations: 104.2 kB / 1.383 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.484, allocations: 27.8 kB / 1.383 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.484, allocations: 0 / 1.383 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4841, allocations: 318.8 kB / 1.384 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4843, allocations: 35.97 kB / 1.384 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.4844, allocations: 50 kB / 1.384 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.4845, allocations: 43.97 kB / 1.384 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4845, allocations: 4 kB / 1.384 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002947/0.4848, allocations: 117.5 kB / 1.384 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.4849, allocations: 8 kB / 1.384 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4849, allocations: 0 / 1.384 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4849, allocations: 0 / 1.384 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.485, allocations: 28.02 kB / 1.384 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.485, allocations: 0 / 1.384 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.4851, allocations: 11.98 kB / 1.384 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4852, allocations: 4 kB / 1.384 GB, free: 6.582 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.4853, allocations: 117.8 kB / 1.384 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.4853, allocations: 11.86 kB / 1.384 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.4854, allocations: 16.72 kB / 1.384 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4854, allocations: 4 kB / 1.384 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4854, allocations: 0 / 1.384 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4854, allocations: 3.984 kB / 1.384 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.4856, allocations: 197.5 kB / 1.384 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4856, allocations: 4 kB / 1.384 GB, free: 6.176 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.4858, allocations: 15.98 kB / 1.384 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4858, allocations: 0 / 1.384 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.4858, allocations: 11.89 kB / 1.384 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4858, allocations: 0 / 1.384 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4858, allocations: 4 kB / 1.384 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.4861, allocations: 211.3 kB / 1.384 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.4862, allocations: 88.95 kB / 1.385 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.4862, allocations: 8 kB / 1.385 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.4864, allocations: 19.94 kB / 1.385 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.4864, allocations: 3.984 kB / 1.385 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4865, allocations: 4 kB / 1.385 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.4865, allocations: 108.8 kB / 1.385 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4865, allocations: 0 / 1.385 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002353/0.4868, allocations: 20 kB / 1.385 GB, free: 5.656 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.4869, allocations: 104 kB / 1.385 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.4872, allocations: 83.89 kB / 1.385 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4872, allocations: 0 / 1.385 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.4873, allocations: 48.03 kB / 1.385 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4876, allocations: 19.98 kB / 1.385 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.4881, allocations: 229 kB / 1.385 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.4884, allocations: 0.6965 MB / 1.386 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.452e-05/0.4885, allocations: 12.67 kB / 1.386 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.4886, allocations: 11.44 kB / 1.386 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of SimCode: time 4e-07/0.4886, allocations: 0 / 1.386 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of Templates: time 0.004063/0.4926, allocations: 1.283 MB / 1.387 GB, free: 3.129 MB / 0.8855 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","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches