Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001526/0.001526, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 71.88 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6639, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.0029/0.6668, allocations: 1.279 MB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.668, allocations: 0.6357 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.668, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.668, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.6681, allocations: 11.92 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.6687, allocations: 103.5 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.6688, allocations: 31.8 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.6688, allocations: 7.984 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.827e-05/0.6689, allocations: 7.984 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.6689, allocations: 19.92 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.669, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.6693, allocations: 139.8 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.6693, allocations: 11.98 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.6693, allocations: 7.938 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.6696, allocations: 97.78 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6696, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6696, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.6696, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 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.0005554/0.6702, allocations: 355.4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6702, allocations: 11.97 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.6707, allocations: 36.89 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.6709, allocations: 168.3 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6709, allocations: 384 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.6709, allocations: 384 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.6711, allocations: 58.2 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6711, allocations: 192 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.6712, allocations: 3.938 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.6712, allocations: 8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.6713, allocations: 31.91 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.6716, allocations: 161.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.6719, allocations: 70.53 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.865e-05/0.672, allocations: 24.94 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.672, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.6721, allocations: 30.56 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.6721, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003527/0.6756, allocations: 0.5836 MB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.6757, allocations: 51.41 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.6757, allocations: 97.84 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.6758, allocations: 25.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.6758, allocations: 84.27 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.6759, allocations: 23.73 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.6759, allocations: 25.69 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6761, allocations: 318.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.6762, allocations: 31.97 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.6763, allocations: 39.97 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.6766, allocations: 80.81 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6766, allocations: 4.062 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003591/0.677, allocations: 133.6 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.677, allocations: 9.812 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.677, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6771, allocations: 3.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.6773, allocations: 23.97 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.6773, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.6775, allocations: 8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.6775, allocations: 7.922 kB / 1.022 GB, free: 13.43 MB / 0.7794 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 9.198e-05/0.6776, allocations: 115.4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.6776, allocations: 7.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.6777, allocations: 7.969 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6777, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6777, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6777, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.6779, allocations: 203.4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6779, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.6781, allocations: 23.97 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6782, allocations: 3.938 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.6782, allocations: 3.984 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6782, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.6782, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.6788, allocations: 193.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.6788, allocations: 81.05 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.6788, allocations: 64 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.679, allocations: 24 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.6791, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.6791, allocations: 7.922 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.6791, allocations: 83.22 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6791, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002487/0.6794, allocations: 36 kB / 1.023 GB, free: 12.55 MB / 0.7794 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.0002164/0.6796, allocations: 123.3 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.68, allocations: 87.92 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.68, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.6802, allocations: 59.95 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.6804, allocations: 9.062 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.6812, allocations: 146.1 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.6814, allocations: 0.6846 MB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.6817, allocations: 23.94 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.6817, allocations: 23.42 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6818, allocations: 7.875 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of Templates: time 0.004236/0.686, allocations: 1.496 MB / 1.025 GB, free: 9.879 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches