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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001317/0.001317, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001453/0.001453, allocations: 188.2 kB / 16.25 MB, free: 6.637 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.526/1.526, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.996/2.996, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 68.8 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4527, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.004689/0.4575, allocations: 1.467 MB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007599/0.4583, allocations: 211.5 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.4583, allocations: 0 / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.4584, allocations: 3.938 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.4585, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.4589, allocations: 19.91 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.459, allocations: 31.86 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4591, allocations: 4 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.4592, allocations: 11.98 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.4593, allocations: 11.92 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.4593, allocations: 4 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4595, allocations: 27.97 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.4595, allocations: 7.938 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.4595, allocations: 11.94 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.4597, allocations: 36.17 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4597, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4598, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4598, allocations: 0 / 1.054 GB, free: 6.777 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.0006409/0.4604, allocations: 339.5 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.4605, allocations: 16.62 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.4606, allocations: 34.69 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.4607, allocations: 8.828 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.4609, allocations: 172.3 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.461, allocations: 4.359 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.461, allocations: 384 / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.4612, allocations: 50.23 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4613, allocations: 3.938 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4613, allocations: 0 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4613, allocations: 4 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.4616, allocations: 35.95 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.4621, allocations: 244.9 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4623, allocations: 42.48 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.4624, allocations: 24.91 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4625, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.4625, allocations: 34.56 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.4625, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005463/0.4631, allocations: 81.58 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4631, allocations: 55.53 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4633, allocations: 101.8 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4633, allocations: 29.7 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.4634, allocations: 84.05 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.4634, allocations: 4 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.4635, allocations: 13.72 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4636, allocations: 310.8 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.4638, allocations: 23.97 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.4639, allocations: 15.98 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.4641, allocations: 32.83 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4642, allocations: 3.938 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003223/0.4645, allocations: 81.56 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4645, allocations: 5.875 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4645, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4646, allocations: 4 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4647, allocations: 7.984 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4647, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.4648, allocations: 15.86 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4648, allocations: 0 / 1.056 GB, free: 4.695 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 9.745e-05/0.4649, allocations: 113.8 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.465, allocations: 4.031 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.4653, allocations: 80.7 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4653, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4653, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4654, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.4656, allocations: 165.6 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4656, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4657, allocations: 15.98 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4657, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4657, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4658, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4658, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.4661, allocations: 171.7 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.4662, allocations: 85 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.4662, allocations: 4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.4664, allocations: 4 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.4664, allocations: 7.922 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.4665, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.4665, allocations: 79.28 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4665, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003597/0.4669, allocations: 8 kB / 1.057 GB, free: 3.867 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.0006957/0.4676, allocations: 0.7046 MB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.4679, allocations: 35.91 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.468, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.4681, allocations: 28.03 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.4686, allocations: 4 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000666/0.4693, allocations: 152.3 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.4696, allocations: 0.6729 MB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.437e-05/0.4697, allocations: 8 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.4698, allocations: 18.55 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.4698, allocations: 0 / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4843/0.9541, allocations: 1.209 MB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.9544, allocations: 242.5 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/4.574, allocations: 0 / 1.06 GB, free: 0.8398 MB / 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