Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.37/2.37, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001232/0.001232, allocations: 189.6 kB / 0.4902 GB, free: 2.242 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.578/1.578, allocations: 223.2 MB / 0.7992 GB, free: 14.68 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.001203/0.001204, allocations: 108.2 kB / 0.9396 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 10.84 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3057, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.4937, allocations: 150.3 MB / 1.376 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.494, allocations: 91.92 kB / 1.376 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005163/0.4992, allocations: 1.856 MB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4992, allocations: 4 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.4992, allocations: 4 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003203/0.4995, allocations: 336 kB / 1.378 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4996, allocations: 12.52 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.4997, allocations: 11.98 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.4999, allocations: 163 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.4999, allocations: 0 / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.4999, allocations: 8 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5, allocations: 45.69 kB / 1.378 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.5001, allocations: 4 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5001, allocations: 0 / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.5001, allocations: 0 / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.007e-05/0.5001, allocations: 23.91 kB / 1.379 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.5003, allocations: 165.7 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/0.5004, allocations: 38.58 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.5004, allocations: 0 / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.5005, allocations: 46.48 kB / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.5005, allocations: 0 / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.002186/0.5027, allocations: 0.4903 MB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5027, allocations: 55.41 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.915e-05/0.5028, allocations: 85 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.5028, allocations: 25.7 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.5028, allocations: 80.14 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.5029, allocations: 23.7 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.5029, allocations: 4 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.503, allocations: 314.8 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.5031, allocations: 27.98 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.5031, allocations: 27.92 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.304e-05/0.5032, allocations: 24 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5032, allocations: 0 / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001509/0.5033, allocations: 97.53 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5034, allocations: 5.719 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5034, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5034, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.5035, allocations: 12 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.5036, allocations: 7.922 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.5036, allocations: 12 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5036, allocations: 0 / 1.38 GB, free: 14.81 MB / 0.8855 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 (9): * Single equations (assignments): 9 * 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 8.649e-05/0.5037, allocations: 113.8 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.5038, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.5038, allocations: 15.97 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5038, allocations: 4 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5038, allocations: 0 / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5038, allocations: 0 / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.504, allocations: 179.2 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.504, allocations: 4 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.5041, allocations: 19.98 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5041, allocations: 0 / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.5042, allocations: 0 / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5042, allocations: 4.438 kB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5042, allocations: 3.938 kB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.5044, allocations: 145 kB / 1.38 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.5045, allocations: 81.02 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5045, allocations: 8.062 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5046, allocations: 8.016 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.5046, allocations: 8.281 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.5046, allocations: 0 / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.5047, allocations: 79.28 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5047, allocations: 3.938 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001859/0.5049, allocations: 11.94 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (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.0001289/0.505, allocations: 112 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.5052, allocations: 64.06 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5052, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.5052, allocations: 39.97 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.5054, allocations: 9.641 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.5059, allocations: 184.6 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.5062, allocations: 0.6848 MB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.5063, allocations: 12.19 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.5064, allocations: 7.438 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of SimCode: time 2.9e-07/0.5064, allocations: 0 / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of Templates: time 0.002498/0.5089, allocations: 0.6348 MB / 1.382 GB, free: 12.27 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches