Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 92.16 kB / 16.02 MB, free: 80 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.00128/0.00128, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.477/1.477, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003578, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6689, allocations: 153.8 MB / 1.024 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001315/0.6702, allocations: 1.015 MB / 1.025 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009203/0.6712, allocations: 0.5618 MB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.6712, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.6712, allocations: 3.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.6713, allocations: 3.984 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.6716, allocations: 83.64 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.6716, allocations: 19.86 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.6717, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.6717, allocations: 11.94 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.6718, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.6718, allocations: 8 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.6721, allocations: 147.7 kB / 1.026 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.6721, allocations: 4 kB / 1.026 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.6721, allocations: 33.64 kB / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.6723, allocations: 65.89 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6723, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6723, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.6723, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003483/0.6726, allocations: 347.4 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.6727, allocations: 12.03 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.6731, allocations: 28.89 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.6732, allocations: 168.3 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.6733, allocations: 4.375 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.6733, allocations: 384 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.6735, allocations: 50.16 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.6735, allocations: 4.188 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.6735, allocations: 3.938 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.6735, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.6736, allocations: 19.98 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.6738, allocations: 153.7 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.674, allocations: 50.58 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.674, allocations: 12.91 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.6741, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.6741, allocations: 38.5 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6741, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003183/0.6744, allocations: 81.5 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.6745, allocations: 51.41 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.6746, allocations: 101.8 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.6746, allocations: 25.7 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.6746, allocations: 80.14 kB / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.6747, allocations: 7.938 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.6747, allocations: 9.719 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6748, allocations: 319 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.6749, allocations: 11.98 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.6749, allocations: 11.98 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.6751, allocations: 32.78 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6751, allocations: 4.062 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.6752, allocations: 61.58 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6753, allocations: 4 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6753, allocations: 3.938 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6753, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6754, allocations: 7.984 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.6754, allocations: 4 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.6755, allocations: 7.969 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.6755, allocations: 3.984 kB / 1.027 GB, free: 12.06 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 (2): * Single equations (assignments): 2 * 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.488e-05/0.6756, allocations: 114.4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.6756, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.6756, allocations: 7.25 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6757, allocations: 3.984 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6757, allocations: 7.938 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.6757, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.6758, allocations: 153.7 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6758, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.6759, allocations: 7.984 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6759, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.6759, allocations: 11.92 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6759, allocations: 0 / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6759, allocations: 4 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.6761, allocations: 81.11 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.6762, allocations: 85.09 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.6762, allocations: 3.938 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-05/0.6763, allocations: 0 / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.6763, allocations: 4 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.6763, allocations: 3.984 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.6764, allocations: 79.28 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.392e-06/0.6764, allocations: 4.031 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002037/0.6766, allocations: 19.94 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001645/0.6768, allocations: 111.2 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.6769, allocations: 27.97 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.677, allocations: 3.938 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.677, allocations: 24.05 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.6773, allocations: 4 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.6776, allocations: 160.6 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.6779, allocations: 0.677 MB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.6779, allocations: 15.5 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6779, allocations: 0 / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.00208/0.68, allocations: 0.7677 MB / 1.03 GB, free: 9.535 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches