Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_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.001207/0.001207, allocations: 103.8 kB / 16.36 MB, free: 5.547 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.001573/0.001573, allocations: 195.7 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.395/2.395, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.38 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002565/0.2945, allocations: 1.43 MB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.2954, allocations: 0.5928 MB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.2955, allocations: 0 / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.2955, allocations: 0 / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.2956, allocations: 11.86 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.296, allocations: 95.56 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.384e-05/0.2961, allocations: 35.86 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.2962, allocations: 4 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.2962, allocations: 11.98 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.2963, allocations: 15.92 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.2963, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.2965, allocations: 139.8 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.2966, allocations: 3.984 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.2966, allocations: 11.94 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.2968, allocations: 99.77 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2968, allocations: 8 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2968, allocations: 0 / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2968, allocations: 0 / 1.029 GB, free: 15.63 MB / 0.8106 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.000484/0.2973, allocations: 355.5 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2974, allocations: 8.031 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.2978, allocations: 32.75 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2979, allocations: 176.4 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2979, allocations: 4.312 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.298, allocations: 384 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.2982, allocations: 62.2 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2982, allocations: 192 / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2982, allocations: 7.938 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2982, allocations: 4 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.2985, allocations: 55.94 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.2989, allocations: 268.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.2992, allocations: 62.48 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.2993, allocations: 28.89 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2993, allocations: 7.969 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2993, allocations: 42.5 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2994, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000481/0.2998, allocations: 113.5 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.2999, allocations: 51.41 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.3, allocations: 101.8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3, allocations: 29.7 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.3, allocations: 92.11 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3001, allocations: 0 / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.3001, allocations: 21.7 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3002, allocations: 310.8 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3003, allocations: 23.97 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.3005, allocations: 31.97 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.3007, allocations: 52.81 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3007, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002907/0.301, allocations: 105.5 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.301, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.301, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.301, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3012, allocations: 11.98 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3012, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.3013, allocations: 7.984 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.3013, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 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 7.261e-05/0.3014, allocations: 121.8 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3014, allocations: 3.984 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.3014, allocations: 7.125 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3015, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3015, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3015, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3016, allocations: 169.5 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3016, allocations: 8 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3018, allocations: 11.98 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3018, allocations: 3.984 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3018, allocations: 4 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3018, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3018, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.3021, allocations: 195.3 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3022, allocations: 81.02 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3022, allocations: 4 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3023, allocations: 7.984 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.3024, allocations: 4 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3024, allocations: 4 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.3024, allocations: 83.3 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3024, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002355/0.3027, allocations: 16 kB / 1.032 GB, free: 12.56 MB / 0.8106 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.000183/0.3029, allocations: 103.2 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3031, allocations: 71.86 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3032, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.3033, allocations: 27.97 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3036, allocations: 3.938 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.304, allocations: 134.8 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.3042, allocations: 0.6729 MB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.32e-05/0.3043, allocations: 11.94 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.3043, allocations: 11.42 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3043, allocations: 4 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of Templates: time 0.002887/0.3072, allocations: 0.7865 MB / 1.034 GB, free: 10.68 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches