Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_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.001099/0.001099, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001171/0.001171, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.453/2.453, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.58 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2894, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002439/0.2919, allocations: 1.412 MB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.2923, allocations: 203.4 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.2924, allocations: 0 / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.2924, allocations: 11.92 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.2925, allocations: 7.938 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.2927, allocations: 19.91 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.2927, allocations: 23.92 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.2928, allocations: 4 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.775e-05/0.2929, allocations: 11.98 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.2929, allocations: 11.92 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.2929, allocations: 4 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.293, allocations: 31.98 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.293, allocations: 7.984 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.2931, allocations: 7.938 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2932, allocations: 31.91 kB / 1.021 GB, free: 8.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2932, allocations: 0 / 1.021 GB, free: 8.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.806e-06/0.2932, allocations: 3.984 kB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2932, allocations: 0 / 1.021 GB, free: 8.066 MB / 0.795 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.0003906/0.2936, allocations: 343.4 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2937, allocations: 8.031 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2938, allocations: 12.84 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2939, allocations: 160.4 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.2939, allocations: 4.312 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.2939, allocations: 12.36 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2941, allocations: 46.23 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2941, allocations: 192 / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2941, allocations: 7.938 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2941, allocations: 0 / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.2943, allocations: 35.95 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.2946, allocations: 252.9 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2947, allocations: 46.47 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.2948, allocations: 18.44 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2948, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2949, allocations: 34.56 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2949, allocations: 0 / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.2952, allocations: 77.64 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.2953, allocations: 59.34 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.2953, allocations: 102 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2954, allocations: 29.7 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.2954, allocations: 80.14 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.2954, allocations: 11.78 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2955, allocations: 17.72 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.2956, allocations: 314.8 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.2956, allocations: 19.98 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.2957, allocations: 15.98 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2959, allocations: 36.83 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2959, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001796/0.2961, allocations: 73.44 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2961, allocations: 8 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2961, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2961, allocations: 4.094 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.2962, allocations: 11.98 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.2962, allocations: 4 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.2963, allocations: 7.984 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.2963, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 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 6.762e-05/0.2963, allocations: 110.4 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.2964, allocations: 0 / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.2966, allocations: 84.77 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2966, allocations: 4 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2966, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2967, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.2968, allocations: 157.6 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2968, allocations: 0 / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.2969, allocations: 15.92 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2969, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2969, allocations: 4 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2969, allocations: 4 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2969, allocations: 4 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.2972, allocations: 171.7 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.2972, allocations: 81.02 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2972, allocations: 0 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.2973, allocations: 7.984 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.2973, allocations: 8 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2974, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.317e-05/0.2974, allocations: 79.28 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.372e-06/0.2974, allocations: 0 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002337/0.2976, allocations: 11.94 kB / 1.023 GB, free: 5.191 MB / 0.795 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 9.196e-05/0.2977, allocations: 103.2 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.2979, allocations: 39.97 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.298, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.298, allocations: 23.97 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.2983, allocations: 11.88 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.2986, allocations: 114.6 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2988, allocations: 0.6806 MB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.2988, allocations: 8.062 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.2989, allocations: 11.44 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2989, allocations: 0 / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of Templates: time 0.002479/0.3014, allocations: 0.4917 MB / 1.024 GB, free: 3.656 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches