Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_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_9_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.009548/0.009548, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.002004/0.002004, allocations: 187 kB / 16.67 MB, free: 5.922 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.553/1.553, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.263/2.263, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 75.88 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.047, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002361/1.05, allocations: 1.304 MB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/1.05, allocations: 0.5634 MB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/1.05, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/1.051, allocations: 1.484 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/1.051, allocations: 6.359 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/1.051, allocations: 101.8 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.799e-05/1.051, allocations: 17.44 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/1.051, allocations: 3.594 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/1.051, allocations: 4.125 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/1.051, allocations: 12.34 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/1.051, allocations: 1.125 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/1.052, allocations: 141.7 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/1.052, allocations: 1.25 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/1.052, allocations: 12.7 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/1.052, allocations: 86.61 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.052, allocations: 1.125 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.052, allocations: 4 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.052, allocations: 0 / 1.09 GB, free: 4.074 MB / 0.8575 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.0003842/1.052, allocations: 348 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.052, allocations: 9.594 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/1.053, allocations: 26.47 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.928e-05/1.053, allocations: 170.4 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/1.053, allocations: 8.312 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/1.053, allocations: 1.438 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/1.053, allocations: 48.47 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.053, allocations: 1.844 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.053, allocations: 3.938 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.053, allocations: 0 / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/1.053, allocations: 23.52 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/1.053, allocations: 165.4 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/1.054, allocations: 43.34 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/1.054, allocations: 18.58 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/1.054, allocations: 1.688 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/1.054, allocations: 36.42 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.054, allocations: 0 / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003145/1.054, allocations: 71.53 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/1.054, allocations: 53.06 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/1.054, allocations: 99.08 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/1.054, allocations: 29.83 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.73e-05/1.054, allocations: 85.95 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/1.054, allocations: 4.797 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/1.054, allocations: 19.58 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/1.054, allocations: 316.7 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/1.054, allocations: 13.03 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.1e-05/1.054, allocations: 13.3 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/1.055, allocations: 32.62 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.055, allocations: 0 / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001658/1.055, allocations: 60.02 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.055, allocations: 5.969 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.055, allocations: 8.031 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.055, allocations: 4.547 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.055, allocations: 8.812 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.055, allocations: 3.938 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/1.055, allocations: 3.375 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/1.055, allocations: 1.844 kB / 1.092 GB, free: 2.414 MB / 0.8575 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 5.264e-05/1.055, allocations: 107.9 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/1.055, allocations: 5.891 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/1.055, allocations: 16.38 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.055, allocations: 0.8125 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.055, allocations: 1.031 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.055, allocations: 4.641 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.301e-05/1.055, allocations: 154.2 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.055, allocations: 1 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/1.055, allocations: 7.641 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/1.055, allocations: 1 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.055, allocations: 10.56 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.055, allocations: 4 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.055, allocations: 1.031 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/1.056, allocations: 81.28 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/1.056, allocations: 84.78 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/1.056, allocations: 4.812 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/1.056, allocations: 7.891 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/1.056, allocations: 1.891 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/1.056, allocations: 1.578 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.198e-05/1.056, allocations: 82.81 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.056, allocations: 0.8125 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002158/1.056, allocations: 14.28 kB / 1.092 GB, free: 1.816 MB / 0.8575 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.0001673/1.056, allocations: 111.6 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001976/1.056, allocations: 31.59 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.056, allocations: 0.9375 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/1.056, allocations: 15.7 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/1.057, allocations: 5.781 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/1.057, allocations: 116.6 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/1.057, allocations: 0.675 MB / 1.093 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.417e-05/1.057, allocations: 12.11 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/1.057, allocations: 10.39 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/1.057, allocations: 0.5938 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of Templates: time 0.003574/1.061, allocations: 0.7402 MB / 1.094 GB, free: 0.7969 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches