Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_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.00147/0.00147, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001535/0.001535, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.16 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.351/2.351, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7857, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002609/0.7883, allocations: 1.416 MB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.7893, allocations: 0.5875 MB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.7894, allocations: 0 / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.7894, allocations: 5.875 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.7895, allocations: 7.922 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.7899, allocations: 100.2 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.79, allocations: 20.55 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.7901, allocations: 9.266 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.7901, allocations: 9.359 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.7902, allocations: 11.12 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.7902, allocations: 5.188 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.7905, allocations: 143.3 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.7905, allocations: 6.328 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.7906, allocations: 10.78 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.7908, allocations: 112.7 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.7908, allocations: 0.9375 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7908, allocations: 0 / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.7908, allocations: 0 / 1.091 GB, free: 3.973 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004087/0.7913, allocations: 354.4 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7913, allocations: 8.75 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.7918, allocations: 35.28 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.563e-05/0.7919, allocations: 164.3 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.7919, allocations: 384 / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.7919, allocations: 1.438 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.7922, allocations: 71.14 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7922, allocations: 5.156 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.7922, allocations: 7.938 kB / 1.092 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7922, allocations: 0.9375 kB / 1.092 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.7925, allocations: 51.16 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.7929, allocations: 271.7 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.7932, allocations: 63.17 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.7933, allocations: 31.36 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.7933, allocations: 0 / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.7933, allocations: 40.27 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.7934, allocations: 0.8125 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005345/0.7939, allocations: 115.1 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.7939, allocations: 52.97 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.794, allocations: 105.2 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.794, allocations: 25.7 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.794, allocations: 82.78 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.7941, allocations: 8.688 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.7941, allocations: 19.33 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.7942, allocations: 313 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.7943, allocations: 29.36 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.7945, allocations: 30.28 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.7947, allocations: 57.97 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7947, allocations: 0 / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002932/0.795, allocations: 92.16 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.795, allocations: 5.5 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7951, allocations: 0.7969 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7951, allocations: 1.094 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.7952, allocations: 13.59 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7952, allocations: 7.969 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-05/0.7953, allocations: 8.438 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7953, allocations: 1.562 kB / 1.093 GB, free: 2.199 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.434e-05/0.7954, allocations: 120.8 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.7954, allocations: 1.516 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.7955, allocations: 5.453 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.7955, allocations: 8.719 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7955, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7955, allocations: 0.7188 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.7956, allocations: 168.4 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7956, allocations: 0 / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.7958, allocations: 14.53 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7958, allocations: 0 / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.7958, allocations: 2.219 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7958, allocations: 4.719 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7958, allocations: 0.7188 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.7961, allocations: 187.1 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.7962, allocations: 86.42 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.7962, allocations: 1.609 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.7963, allocations: 12.23 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.7963, allocations: 6.031 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.7964, allocations: 2.797 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.263e-05/0.7964, allocations: 79.02 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7964, allocations: 0.875 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002485/0.7966, allocations: 19.3 kB / 1.094 GB, free: 1.52 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.0001624/0.7968, allocations: 106.5 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.7972, allocations: 60.06 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7972, allocations: 0 / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.7973, allocations: 29.55 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.7976, allocations: 6.359 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.798, allocations: 164.9 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.7981, allocations: 0.6766 MB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.7982, allocations: 11.89 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.7982, allocations: 0 / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of Templates: time 0.002813/0.801, allocations: 0.9015 MB / 1.096 GB, free: 0.5 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches