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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_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.001116/0.001116, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001406/0.001406, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.892/2.892, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005166, allocations: 9.781 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3905, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001665/0.3922, allocations: 1.124 MB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004555/0.3927, allocations: 191.6 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.3927, allocations: 4 kB / 1.059 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.3927, allocations: 3.984 kB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.3928, allocations: 11.88 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.393, allocations: 23.91 kB / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.8e-05/0.3931, allocations: 19.92 kB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.3932, allocations: 4 kB / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.3932, allocations: 8 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.3933, allocations: 11.92 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3933, allocations: 0 / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.3934, allocations: 23.97 kB / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.3934, allocations: 11.98 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.3935, allocations: 25.7 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.474e-05/0.3936, allocations: 24.25 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3936, allocations: 0 / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3936, allocations: 0 / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3936, allocations: 0 / 1.059 GB, free: 3.855 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.000448/0.394, allocations: 343.2 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3941, allocations: 12.03 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.3942, allocations: 4 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3943, allocations: 178.9 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3943, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3944, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3946, allocations: 53.67 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3946, allocations: 0 / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3946, allocations: 0 / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.3946, allocations: 8 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3948, allocations: 43.95 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.3951, allocations: 248.8 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3953, allocations: 50.53 kB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.496e-05/0.3954, allocations: 28.91 kB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3954, allocations: 0 / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3954, allocations: 34.56 kB / 1.06 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3954, allocations: 0 / 1.06 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000364/0.3958, allocations: 105.7 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3959, allocations: 55.34 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.3959, allocations: 97.84 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3959, allocations: 25.7 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.396, allocations: 84.14 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.396, allocations: 11.89 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.396, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3961, allocations: 314.8 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.3962, allocations: 31.94 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.3963, allocations: 19.98 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.17e-05/0.3964, allocations: 23.98 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3964, allocations: 4.062 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001836/0.3966, allocations: 73.66 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3966, allocations: 4 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3966, allocations: 0 / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3966, allocations: 3.938 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.3967, allocations: 16.02 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3968, allocations: 0 / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.3968, allocations: 8 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3968, allocations: 0 / 1.061 GB, free: 1.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/0.3969, allocations: 121.8 kB / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3969, allocations: 3.906 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3972, allocations: 84.78 kB / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3972, allocations: 0 / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3972, allocations: 4 kB / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3972, allocations: 0 / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3974, allocations: 161.6 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3974, allocations: 8 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.3975, allocations: 15.92 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3975, allocations: 4 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3975, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3975, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3975, allocations: 240 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.3977, allocations: 183.5 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.3978, allocations: 77.11 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3978, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.3979, allocations: 11.98 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.3979, allocations: 7.938 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.3979, allocations: 7.984 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.398, allocations: 79.28 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.398, allocations: 0 / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002158/0.3982, allocations: 4 kB / 1.062 GB, free: 0.9375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001064/0.3983, allocations: 99.25 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3985, allocations: 55.89 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3985, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.3986, allocations: 23.98 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3989, allocations: 11.94 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.3992, allocations: 136.5 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3995, allocations: 0.6847 MB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.3995, allocations: 4 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.3995, allocations: 7.438 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3995, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.00238/0.4019, allocations: 418.3 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches