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.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.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.008289/0.008289, allocations: 104 kB / 15.73 MB, free: 6.043 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.001809/0.00181, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.874/2.874, allocations: 461.9 MB / 0.7347 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 64.34 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3793, allocations: 157.4 MB / 1.208 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002707/0.3821, allocations: 1.26 MB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005679/0.3827, allocations: 231.3 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.3827, allocations: 0 / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.3828, allocations: 0 / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.091e-05/0.3828, allocations: 3.984 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.3832, allocations: 43.77 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.3833, allocations: 19.92 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.009e-05/0.3834, allocations: 7.938 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.3834, allocations: 11.98 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.3835, allocations: 4 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3835, allocations: 3.984 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3836, allocations: 47.95 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.3837, allocations: 4 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.3837, allocations: 11.92 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.3838, allocations: 43.89 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3839, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3839, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3839, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 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.0005771/0.3845, allocations: 335.5 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3845, allocations: 8.625 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.3847, allocations: 12.92 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3848, allocations: 172.3 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3848, allocations: 4.375 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3848, allocations: 384 / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.385, allocations: 42.25 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.385, allocations: 192 / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.385, allocations: 11.92 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.385, allocations: 4 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/0.3851, allocations: 8 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.3852, allocations: 161.6 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.3854, allocations: 50.56 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.3854, allocations: 16.98 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.3854, allocations: 7.984 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3855, allocations: 30.56 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3855, allocations: 4 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.002109/0.3876, allocations: 0.4906 MB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.3876, allocations: 55.41 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3878, allocations: 89.86 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3878, allocations: 25.7 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.3878, allocations: 84.14 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.3879, allocations: 35.53 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.3879, allocations: 21.66 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3881, allocations: 322.8 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.3882, allocations: 20.06 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.3882, allocations: 27.92 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.3884, allocations: 60.8 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3884, allocations: 0 / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001556/0.3885, allocations: 97.62 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3886, allocations: 9.5 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3886, allocations: 0 / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3886, allocations: 0 / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3887, allocations: 15.98 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3888, allocations: 0 / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.3888, allocations: 4 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3888, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.838e-05/0.3889, allocations: 117.8 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3889, allocations: 7.938 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.389, allocations: 11.97 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.389, allocations: 4 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.389, allocations: 3.984 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.389, allocations: 0 / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.3893, allocations: 175.4 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3893, allocations: 3.984 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3895, allocations: 12 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3895, allocations: 3.938 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.3895, allocations: 8 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3895, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3895, allocations: 4 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3898, allocations: 149.2 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.3898, allocations: 84.98 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3898, allocations: 8.016 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.39, allocations: 4 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.39, allocations: 0 / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.39, allocations: 4 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.39, allocations: 83.34 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.39, allocations: 0 / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001973/0.3903, allocations: 8 kB / 1.212 GB, free: 4.762 MB / 0.9669 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 (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.0001417/0.3904, allocations: 107.2 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.3906, allocations: 59.92 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3906, allocations: 3.938 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.552e-05/0.3906, allocations: 31.98 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3909, allocations: 8.312 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.3914, allocations: 178.6 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3917, allocations: 0.6807 MB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.928e-05/0.3918, allocations: 15.92 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.3919, allocations: 7.438 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3919, allocations: 4 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of Templates: time 0.003048/0.3949, allocations: 0.7048 MB / 1.214 GB, free: 2.953 MB / 0.9669 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