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/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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001358/0.001358, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.849/2.849, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 11.62 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3776, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00181/0.3794, allocations: 0.9706 MB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.3802, allocations: 219.5 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.3802, allocations: 4 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.3803, allocations: 3.938 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.62e-05/0.3803, allocations: 3.938 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.3807, allocations: 27.89 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.3808, allocations: 19.92 kB / 1.059 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.322e-05/0.3809, allocations: 7.984 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.3809, allocations: 4 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.381, allocations: 11.92 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.381, allocations: 7.938 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.3812, allocations: 39.97 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.3813, allocations: 7.984 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3813, allocations: 29.7 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3814, allocations: 23.97 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3814, allocations: 0 / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3815, allocations: 0 / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.3815, allocations: 0 / 1.059 GB, free: 3.891 MB / 0.8106 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.0005602/0.382, allocations: 339.5 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3821, allocations: 8.031 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.3823, allocations: 11.98 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.3825, allocations: 163 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3825, allocations: 0 / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.3826, allocations: 11.98 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3827, allocations: 45.62 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3827, allocations: 0 / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3828, allocations: 0 / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3828, allocations: 0 / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.3828, allocations: 16 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.3831, allocations: 161.7 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3832, allocations: 42.52 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.3832, allocations: 24.92 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.3833, allocations: 3.984 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3833, allocations: 30.56 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 4.539e-06/0.3833, allocations: 4 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.001966/0.3853, allocations: 0.4906 MB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3854, allocations: 55.41 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.441e-05/0.3854, allocations: 89.86 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3854, allocations: 33.7 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.3855, allocations: 80.14 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.3856, allocations: 31.55 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.3856, allocations: 0 / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.3858, allocations: 310.8 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.3859, allocations: 23.98 kB / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.386, allocations: 31.92 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.274e-05/0.386, allocations: 32.12 kB / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.386, allocations: 3.953 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001663/0.3862, allocations: 85.62 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.3862, allocations: 9.875 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3863, allocations: 64 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3863, allocations: 4 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3864, allocations: 15.98 kB / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3865, allocations: 0 / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.3865, allocations: 4 kB / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.3865, allocations: 4 kB / 1.061 GB, free: 1.496 MB / 0.8106 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 0.0001044/0.3866, allocations: 113.8 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.3867, allocations: 11.86 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.368e-05/0.3867, allocations: 11.97 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3867, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3868, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3868, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.387, allocations: 183.4 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.387, allocations: 3.953 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.3871, allocations: 19.92 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3871, allocations: 4 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3871, allocations: 0 / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3871, allocations: 0 / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3872, allocations: 0 / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.3874, allocations: 149.1 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.3876, allocations: 88.91 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3876, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3878, allocations: 12.05 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.3878, allocations: 8 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3878, allocations: 0 / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.3878, allocations: 75.28 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3878, allocations: 3.938 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002011/0.388, allocations: 16.09 kB / 1.062 GB, free: 0.7148 MB / 0.8106 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.0001719/0.3882, allocations: 103.2 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.3884, allocations: 59.97 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3884, allocations: 4 kB / 1.062 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/0.3885, allocations: 35.92 kB / 1.062 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3888, allocations: 8 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.3894, allocations: 176.6 kB / 1.062 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.3898, allocations: 0.6809 MB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.317e-05/0.3899, allocations: 12.19 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.3899, allocations: 7.438 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3899, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.00364/0.3936, allocations: 0.6494 MB / 1.064 GB, free: 14.96 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches