Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00211/0.00211, allocations: 195.2 kB / 16.14 MB, free: 6.711 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.568/1.568, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7625, allocations: 140.3 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003365/0.7659, allocations: 1.352 MB / 0.9502 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.7673, allocations: 0.6548 MB / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.7674, allocations: 0 / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.7674, allocations: 0 / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.877e-05/0.7675, allocations: 9.359 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.768, allocations: 90.5 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.7681, allocations: 28 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.7681, allocations: 5.359 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.7682, allocations: 9.5 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.7683, allocations: 13.42 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.7683, allocations: 5.375 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.7686, allocations: 148.6 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.7686, allocations: 1.375 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.7687, allocations: 13.48 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.7689, allocations: 101.8 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.7689, allocations: 0 / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7689, allocations: 0 / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.769, allocations: 0 / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004768/0.7694, allocations: 360.2 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7695, allocations: 8.562 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.7699, allocations: 26.09 kB / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.77, allocations: 168.3 kB / 0.9518 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.7701, allocations: 6.781 kB / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.7701, allocations: 5.672 kB / 0.9518 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.7703, allocations: 65.56 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7703, allocations: 192 / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.7703, allocations: 8.812 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.7703, allocations: 0 / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.7705, allocations: 27.12 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.7706, allocations: 163.3 kB / 0.9521 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.771, allocations: 71.14 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.7711, allocations: 25.31 kB / 0.9522 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.7711, allocations: 1.5 kB / 0.9522 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.7711, allocations: 38.55 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.7711, allocations: 4 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003462/0.7746, allocations: 0.5664 MB / 0.9528 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.7746, allocations: 52.72 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.372e-05/0.7747, allocations: 96.67 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.7747, allocations: 30.64 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.7747, allocations: 80.14 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.7748, allocations: 26.52 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.7748, allocations: 24.7 kB / 0.9531 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.7749, allocations: 316.2 kB / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.775, allocations: 42.06 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.7752, allocations: 37.66 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.7755, allocations: 79.34 kB / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.7755, allocations: 0 / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003373/0.7758, allocations: 129.9 kB / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.7758, allocations: 9.844 kB / 0.9537 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7759, allocations: 0 / 0.9537 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7759, allocations: 0 / 0.9537 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.7761, allocations: 26.78 kB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7761, allocations: 240 / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.7763, allocations: 13.19 kB / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.7763, allocations: 2.406 kB / 0.9537 GB, free: 5.094 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 7.606e-05/0.7764, allocations: 112 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.7764, allocations: 18.14 kB / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.7765, allocations: 17.11 kB / 0.9538 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7765, allocations: 0 / 0.9538 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7765, allocations: 1.062 kB / 0.9538 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7765, allocations: 0 / 0.9538 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.7767, allocations: 182.5 kB / 0.954 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7767, allocations: 1.469 kB / 0.954 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.7769, allocations: 21.94 kB / 0.954 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.7769, allocations: 3.938 kB / 0.954 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.7769, allocations: 14.36 kB / 0.9541 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7769, allocations: 0 / 0.9541 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.777, allocations: 8.047 kB / 0.9541 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.7775, allocations: 190.7 kB / 0.9542 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.7775, allocations: 86.08 kB / 0.9543 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.7776, allocations: 1.375 kB / 0.9543 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.7778, allocations: 10.55 kB / 0.9543 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.7778, allocations: 2.406 kB / 0.9543 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.7778, allocations: 6.516 kB / 0.9544 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.7778, allocations: 84.53 kB / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7778, allocations: 0 / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002636/0.7781, allocations: 31.14 kB / 0.9545 GB, free: 4.363 MB / 0.7169 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 (6): * Single equations (assignments): 6 * 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.0002237/0.7783, allocations: 121.5 kB / 0.9546 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.7787, allocations: 93.55 kB / 0.9547 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7787, allocations: 0 / 0.9547 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.7789, allocations: 44.72 kB / 0.9547 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.7792, allocations: 13.78 kB / 0.9547 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.7799, allocations: 180.3 kB / 0.9549 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.78, allocations: 0.6797 MB / 0.9556 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.7803, allocations: 27.59 kB / 0.9556 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.7803, allocations: 19.97 kB / 0.9556 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7803, allocations: 4.938 kB / 0.9556 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.004322/0.7847, allocations: 1.451 MB / 0.957 GB, free: 2.57 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches