Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009884, allocations: 91.77 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.00131/0.00131, allocations: 178.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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.829/2.829, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004497, allocations: 6.906 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3689, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001937/0.3709, allocations: 1.135 MB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3721, allocations: 0.5961 MB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.3722, allocations: 0 / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.3722, allocations: 3.938 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.3723, allocations: 3.984 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.3727, allocations: 87.64 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.3728, allocations: 23.86 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.3729, allocations: 8 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.3729, allocations: 11.98 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.373, allocations: 11.94 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.373, allocations: 0 / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.3733, allocations: 151.7 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.3734, allocations: 4 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.3734, allocations: 33.64 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.3736, allocations: 76.12 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3736, allocations: 0 / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3736, allocations: 0 / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3736, allocations: 0 / 1.061 GB, free: 2.828 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005054/0.3741, allocations: 359.4 kB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3742, allocations: 8.031 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.3747, allocations: 28.89 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3748, allocations: 164.3 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3748, allocations: 12.38 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3748, allocations: 384 / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.3751, allocations: 70.14 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3752, allocations: 192 / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.3752, allocations: 7.875 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3752, allocations: 4 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.3755, allocations: 67.88 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.376, allocations: 276.8 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3763, allocations: 62.47 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3764, allocations: 40.89 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3764, allocations: 3.938 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3765, allocations: 34.56 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3765, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005646/0.3771, allocations: 129.6 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3771, allocations: 51.41 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.3772, allocations: 102 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3772, allocations: 25.7 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.3773, allocations: 88.08 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.3773, allocations: 7.906 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.3774, allocations: 9.719 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3775, allocations: 318.8 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3776, allocations: 35.92 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3778, allocations: 27.97 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.3781, allocations: 72.86 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3781, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003199/0.3784, allocations: 97.58 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3784, allocations: 8 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3784, allocations: 4 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3784, allocations: 3.984 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3786, allocations: 11.98 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3786, allocations: 4 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/0.3787, allocations: 15.92 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3787, allocations: 4 kB / 1.063 GB, free: 500 kB / 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 (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 9.087e-05/0.3788, allocations: 117.7 kB / 1.064 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.3789, allocations: 4 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.3789, allocations: 3.125 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3789, allocations: 3.984 kB / 1.064 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3789, allocations: 4 kB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3789, allocations: 3.938 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.3791, allocations: 173.6 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3791, allocations: 0 / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3792, allocations: 11.98 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3793, allocations: 4.188 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3793, allocations: 3.984 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3793, allocations: 0 / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3793, allocations: 3.938 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.3797, allocations: 203.4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.3797, allocations: 77.11 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3798, allocations: 3.984 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3799, allocations: 8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3799, allocations: 7.922 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.38, allocations: 4 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.38, allocations: 79.28 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.38, allocations: 4 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002474/0.3803, allocations: 16.03 kB / 1.064 GB, free: 15.68 MB / 0.8262 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.0001949/0.3805, allocations: 107.2 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.3808, allocations: 67.94 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3808, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.381, allocations: 35.95 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3813, allocations: 7.938 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.3818, allocations: 178.3 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3821, allocations: 0.677 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.3821, allocations: 19.36 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3821, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.002523/0.3847, allocations: 0.8949 MB / 1.066 GB, free: 13.63 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches