Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007062/0.007062, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001685/0.001686, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.45/2.45, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 59.47 kB / 0.9508 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3815, allocations: 140.4 MB / 1.088 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003429/0.385, allocations: 1.4 MB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000709/0.3857, allocations: 207.4 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.3858, allocations: 0 / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.3859, allocations: 0 / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.131e-05/0.386, allocations: 11.92 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.3865, allocations: 23.91 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3867, allocations: 27.91 kB / 1.09 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.3869, allocations: 4 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.387, allocations: 11.94 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.387, allocations: 11.94 kB / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3871, allocations: 0 / 1.09 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.3872, allocations: 27.97 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.3873, allocations: 7.984 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.3873, allocations: 11.94 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.3875, allocations: 39.84 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.3875, allocations: 0 / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3875, allocations: 3.938 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3875, allocations: 0 / 1.09 GB, free: 15.88 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.0006521/0.3882, allocations: 335.6 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.3882, allocations: 12.02 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.3884, allocations: 8.844 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3887, allocations: 168.3 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3887, allocations: 384 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3887, allocations: 8.375 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3889, allocations: 46.23 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3889, allocations: 192 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.389, allocations: 7.938 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.389, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.3891, allocations: 31.95 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.3896, allocations: 248.9 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3898, allocations: 50.42 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.3899, allocations: 16.91 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3899, allocations: 0 / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3899, allocations: 34.56 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.39, allocations: 8 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.3903, allocations: 81.56 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3904, allocations: 51.41 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3905, allocations: 105.8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3905, allocations: 25.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.3906, allocations: 84.05 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3906, allocations: 12.11 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.3907, allocations: 13.72 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3908, allocations: 310.8 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.3909, allocations: 19.97 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.391, allocations: 15.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3911, allocations: 36.89 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3912, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002072/0.3914, allocations: 81.38 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3914, allocations: 9.719 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3914, allocations: 3.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3914, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.3915, allocations: 7.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3916, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.3916, allocations: 12.02 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3916, allocations: 4 kB / 1.091 GB, free: 13.83 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 9.154e-05/0.3917, allocations: 109.8 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3918, allocations: 0 / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.392, allocations: 80.7 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3921, allocations: 4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3921, allocations: 4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3921, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.3923, allocations: 161.6 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3923, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.044e-05/0.3924, allocations: 11.98 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3924, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3924, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3924, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3924, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3927, allocations: 176.9 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.3928, allocations: 84.95 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3928, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.3929, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3929, allocations: 11.92 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.3929, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.031e-05/0.393, allocations: 87.28 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.21e-07/0.393, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002273/0.3933, allocations: 4 kB / 1.092 GB, free: 13 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 (3): * Single equations (assignments): 3 * 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.0001794/0.3934, allocations: 95.25 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3937, allocations: 39.95 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3937, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.3938, allocations: 31.97 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3942, allocations: 7.938 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.3947, allocations: 123.2 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3951, allocations: 0.6806 MB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.3951, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.3952, allocations: 15.44 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/0.3952, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of Templates: time 0.002927/0.3981, allocations: 0.4946 MB / 1.094 GB, free: 11.46 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches