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.007891/0.007891, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.002006/0.002006, allocations: 197.5 kB / 16.68 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 1.054 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8821/0.8833, allocations: 157.4 MB / 1.207 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003122/0.8865, allocations: 1.421 MB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005627/0.8871, allocations: 199.5 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.8872, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.8872, allocations: 4 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.8873, allocations: 3.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.8875, allocations: 27.89 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.969e-05/0.8876, allocations: 27.86 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.8877, allocations: 4 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.8878, allocations: 11.94 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.8878, allocations: 11.98 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.8879, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.888, allocations: 31.97 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.888, allocations: 15.92 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.888, allocations: 7.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.8882, allocations: 38.16 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8882, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8882, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.8882, allocations: 0 / 1.209 GB, free: 11.91 MB / 0.9356 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.0004579/0.8887, allocations: 339.4 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8887, allocations: 8.031 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.8888, allocations: 34.75 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.8889, allocations: 12.92 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.889, allocations: 164.4 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.889, allocations: 384 / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.889, allocations: 4.375 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.8892, allocations: 58.11 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8892, allocations: 3.938 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.8893, allocations: 0 / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.8893, allocations: 0 / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.8894, allocations: 35.95 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.8898, allocations: 245 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.8899, allocations: 38.5 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.89, allocations: 32.81 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.89, allocations: 4 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.8901, allocations: 34.56 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.8901, allocations: 0 / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003498/0.8904, allocations: 81.55 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.8905, allocations: 55.41 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.8906, allocations: 97.98 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.8906, allocations: 25.7 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.8907, allocations: 88.12 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.8907, allocations: 3.906 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.8907, allocations: 13.72 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.8908, allocations: 314.8 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.8909, allocations: 19.92 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.891, allocations: 23.97 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.8912, allocations: 36.83 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.8912, allocations: 3.938 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002065/0.8914, allocations: 61.66 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8914, allocations: 10.03 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8914, allocations: 96 / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8915, allocations: 4 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.8916, allocations: 7.984 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8916, allocations: 4 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.8916, allocations: 11.88 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.8917, allocations: 3.938 kB / 1.211 GB, free: 9.832 MB / 0.9356 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 8.249e-05/0.8917, allocations: 117.8 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.8918, allocations: 0 / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.892, allocations: 76.78 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.892, allocations: 4 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.8921, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8921, allocations: 7.922 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.8922, allocations: 161.6 kB / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8922, allocations: 0 / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.8923, allocations: 11.98 kB / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8923, allocations: 0 / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.8923, allocations: 4 kB / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8923, allocations: 0 / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8923, allocations: 4 kB / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.8926, allocations: 171.3 kB / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.8926, allocations: 77.11 kB / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.8927, allocations: 3.984 kB / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.8928, allocations: 8 kB / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.8928, allocations: 11.98 kB / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.8928, allocations: 0 / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.8929, allocations: 79.28 kB / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8929, allocations: 0 / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002206/0.8931, allocations: 4 kB / 1.211 GB, free: 9.004 MB / 0.9356 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.0005257/0.8936, allocations: 0.7076 MB / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.8938, allocations: 40 kB / 1.212 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8938, allocations: 4 kB / 1.212 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.8939, allocations: 19.97 kB / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.8943, allocations: 8.062 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.8948, allocations: 152.1 kB / 1.212 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.8951, allocations: 0.6768 MB / 1.213 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.8951, allocations: 4 kB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.8951, allocations: 11.44 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8951, allocations: 0 / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.9127, allocations: 1.387 MB / 1.214 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.534, allocations: 7.875 kB / 1.214 GB, free: 6.035 MB / 0.9356 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