Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002059/0.002059, allocations: 199 kB / 16.14 MB, free: 6.711 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.671/2.671, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 63.23 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.292, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002759/0.2948, allocations: 1.474 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004993/0.2953, allocations: 199.5 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.2954, allocations: 4 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.2954, allocations: 3.938 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.2955, allocations: 7.922 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.2957, allocations: 19.92 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.2957, allocations: 27.92 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.2958, allocations: 3.984 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.2959, allocations: 11.98 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.2959, allocations: 7.938 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2959, allocations: 0 / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.296, allocations: 27.97 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.2961, allocations: 4 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.2961, allocations: 11.94 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2962, allocations: 44.11 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2962, allocations: 0 / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2962, allocations: 0 / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.2962, allocations: 4 kB / 1.054 GB, free: 6.352 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.0004018/0.2966, allocations: 331.6 kB / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2967, allocations: 19.95 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.2967, allocations: 30.75 kB / 1.054 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2968, allocations: 8.781 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.297, allocations: 172.3 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.297, allocations: 4.375 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.297, allocations: 384 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.2972, allocations: 50.23 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2972, allocations: 3.938 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2972, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2972, allocations: 4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.2974, allocations: 31.95 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.2977, allocations: 248.9 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.2978, allocations: 42.53 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.2979, allocations: 24.91 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.298, allocations: 0 / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.298, allocations: 34.56 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.298, allocations: 3.938 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003396/0.2983, allocations: 85.58 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2984, allocations: 51.41 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.2985, allocations: 101.8 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2985, allocations: 25.83 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.2985, allocations: 92.05 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2985, allocations: 0 / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.2986, allocations: 13.72 kB / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.2987, allocations: 318.8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.2988, allocations: 11.98 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.2988, allocations: 19.98 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.299, allocations: 44.81 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.299, allocations: 3.938 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.2992, allocations: 69.52 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2992, allocations: 4 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2992, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2993, allocations: 4 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.2994, allocations: 12.02 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2994, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.2994, allocations: 7.984 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.2995, allocations: 0 / 1.056 GB, free: 4.277 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.895e-05/0.2995, allocations: 117.8 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.2996, allocations: 0 / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.2998, allocations: 84.7 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2998, allocations: 0 / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2998, allocations: 0 / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2998, allocations: 0 / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.3, allocations: 161.6 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.3, allocations: 4 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.3001, allocations: 11.98 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3001, allocations: 240 / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3001, allocations: 0 / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3001, allocations: 0 / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3001, allocations: 4 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3004, allocations: 175.4 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.3005, allocations: 81.02 kB / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.3005, allocations: 0 / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.3006, allocations: 7.984 kB / 1.056 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3007, allocations: 11.94 kB / 1.056 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3007, allocations: 4 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.3007, allocations: 75.28 kB / 1.056 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3007, allocations: 4 kB / 1.056 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002158/0.3009, allocations: 7.938 kB / 1.057 GB, free: 3.445 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 (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.0006296/0.3016, allocations: 0.7029 MB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3018, allocations: 39.95 kB / 1.057 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3018, allocations: 3.938 kB / 1.057 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.3019, allocations: 15.98 kB / 1.057 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3022, allocations: 11.94 kB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.3027, allocations: 154.1 kB / 1.057 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.3029, allocations: 0.677 MB / 1.058 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.303, allocations: 4 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.303, allocations: 11.44 kB / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.303, allocations: 0 / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.314, allocations: 1.176 MB / 1.059 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/0.3143, allocations: 223.4 kB / 1.059 GB, free: 464 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.951, allocations: 2.672 kB / 1.059 GB, free: 464 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches