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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.004966/0.004966, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001152/0.001152, allocations: 196.5 kB / 16.79 MB, free: 5.809 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: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 59.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6725, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002189/0.6747, allocations: 1.473 MB / 0.951 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008269/0.6755, allocations: 0.6054 MB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.6756, allocations: 1.562 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.6756, allocations: 3.938 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.6757, allocations: 0 / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.676, allocations: 88.8 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.676, allocations: 24.83 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.6761, allocations: 7.094 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.6761, allocations: 11.69 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.6762, allocations: 11.69 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.6762, allocations: 1.438 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.6765, allocations: 146.3 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.6765, allocations: 7.984 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.6765, allocations: 14.67 kB / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.6766, allocations: 69.64 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6767, allocations: 0 / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6767, allocations: 1.375 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.6767, allocations: 0 / 0.952 GB, free: 7.254 MB / 0.7169 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.00037/0.677, allocations: 362.5 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.6771, allocations: 8.25 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.6775, allocations: 29.41 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.894e-05/0.6776, allocations: 169.7 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.6776, allocations: 1.75 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.6776, allocations: 1.75 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.6779, allocations: 66.7 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6779, allocations: 8.062 kB / 0.9526 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.6779, allocations: 3.938 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.6779, allocations: 5.375 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.6782, allocations: 51.44 kB / 0.9527 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.6785, allocations: 272.5 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.6787, allocations: 62.78 kB / 0.953 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.6789, allocations: 31.08 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.6789, allocations: 1.562 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.6789, allocations: 40.16 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6789, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004707/0.6794, allocations: 105.6 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.6794, allocations: 56.72 kB / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.6795, allocations: 106.3 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.6795, allocations: 30.89 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.6795, allocations: 85.61 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.6796, allocations: 3.906 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.6796, allocations: 16.33 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.6796, allocations: 316.6 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.6798, allocations: 30.09 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.6799, allocations: 29.5 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.6801, allocations: 52.56 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6801, allocations: 0 / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002849/0.6804, allocations: 93.88 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6804, allocations: 4.625 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.6805, allocations: 1.75 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6805, allocations: 0 / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.6806, allocations: 12.02 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.6806, allocations: 0 / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.6807, allocations: 13.58 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.6807, allocations: 1.562 kB / 0.954 GB, free: 5.301 MB / 0.7169 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.196e-05/0.6808, allocations: 123.5 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.6808, allocations: 3.906 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.6809, allocations: 5.812 kB / 0.9541 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6809, allocations: 0 / 0.9541 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6809, allocations: 7.938 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.6809, allocations: 0 / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.681, allocations: 168.4 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.681, allocations: 0 / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.6811, allocations: 20.09 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6811, allocations: 0 / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.6811, allocations: 1.281 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6812, allocations: 0 / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6812, allocations: 1.188 kB / 0.9543 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.6815, allocations: 189.2 kB / 0.9545 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.6815, allocations: 81.05 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.6815, allocations: 0.9062 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.6816, allocations: 9.734 kB / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.6817, allocations: 5.344 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.6817, allocations: 5.344 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.267e-05/0.6817, allocations: 86.17 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6817, allocations: 0 / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000243/0.682, allocations: 15.16 kB / 0.9547 GB, free: 4.574 MB / 0.7169 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.0001299/0.6821, allocations: 110.7 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.6824, allocations: 59.03 kB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6824, allocations: 0 / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.6825, allocations: 27.38 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.6828, allocations: 6.188 kB / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.6832, allocations: 183.7 kB / 0.955 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.296e-05/0.6833, allocations: 0.6742 MB / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.6834, allocations: 12.95 kB / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6834, allocations: 0 / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of Templates: time 0.002065/0.6854, allocations: 0.8904 MB / 0.9566 GB, free: 3.102 MB / 0.7169 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