Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_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.001067/0.001067, allocations: 92.39 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.0008099/0.0008098, allocations: 180.4 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.273 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.707/2.707, allocations: 437.8 MB / 0.7128 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006006/0.0006007, allocations: 16 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7446, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001841/0.7465, allocations: 1.137 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.7476, allocations: 0.593 MB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.7477, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.7477, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.7478, allocations: 3.938 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.7482, allocations: 83.64 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.7483, allocations: 23.86 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.7484, allocations: 7.984 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.7485, allocations: 12 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.7486, allocations: 11.92 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.7486, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.7489, allocations: 155.7 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.7489, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.749, allocations: 33.64 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.7492, allocations: 69.88 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7492, allocations: 3.938 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7492, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7492, allocations: 4 kB / 1.026 GB, free: 13.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004775/0.7497, allocations: 363.4 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7497, allocations: 8.031 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.7502, allocations: 28.89 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.7503, allocations: 172.3 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.7504, allocations: 4.375 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.7504, allocations: 384 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.7506, allocations: 74.2 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7507, allocations: 192 / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.7507, allocations: 3.938 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.7507, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.751, allocations: 67.88 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.7515, allocations: 276.9 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.7517, allocations: 66.47 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.7519, allocations: 36.89 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.7519, allocations: 4 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.7519, allocations: 34.5 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7519, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000553/0.7525, allocations: 125.6 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.7525, allocations: 51.41 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.7526, allocations: 101.8 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.7526, allocations: 29.83 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.7527, allocations: 88.14 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.7527, allocations: 3.906 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.7527, allocations: 9.719 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.7528, allocations: 314.8 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.753, allocations: 31.97 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.7531, allocations: 35.97 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.7534, allocations: 72.81 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7534, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003184/0.7537, allocations: 105.6 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7538, allocations: 4 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7538, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7538, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.7539, allocations: 15.98 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7539, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.7541, allocations: 16.02 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.7541, allocations: 0 / 1.028 GB, free: 11.37 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.823e-05/0.7542, allocations: 114.4 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.7542, allocations: 7.906 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.7542, allocations: 11.05 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7543, allocations: 4 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7543, allocations: 3.938 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7543, allocations: 8 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.7545, allocations: 169.5 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7545, allocations: 3.938 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.7546, allocations: 15.98 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7546, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.7546, allocations: 3.984 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7546, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7546, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.755, allocations: 191.5 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.7551, allocations: 89.25 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.7551, allocations: 8 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.7552, allocations: 7.984 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.7553, allocations: 7.984 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7553, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.7553, allocations: 79.28 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.623e-06/0.7553, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002553/0.7556, allocations: 23.92 kB / 1.029 GB, free: 10.54 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.00018/0.7558, allocations: 115.2 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.7561, allocations: 75.92 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7561, allocations: 0 / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.7563, allocations: 31.97 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.7566, allocations: 3.938 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.757, allocations: 186.3 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.7573, allocations: 0.6731 MB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.7573, allocations: 11.42 kB / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7573, allocations: 4 kB / 1.03 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of Templates: time 0.002463/0.7598, allocations: 0.8891 MB / 1.03 GB, free: 8.5 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches