Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_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.001281/0.001281, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001379/0.001379, allocations: 196.4 kB / 16.26 MB, free: 6.625 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.283/2.283, allocations: 437.1 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5045, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002271/0.5068, allocations: 1.478 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003737/0.5072, allocations: 195.5 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.5072, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.5072, allocations: 3.984 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.764e-05/0.5073, allocations: 3.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.5075, allocations: 23.97 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.5075, allocations: 31.86 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.478e-05/0.5076, allocations: 8 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.5076, allocations: 7.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.533e-05/0.5077, allocations: 15.97 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.5077, allocations: 3.938 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-05/0.5078, allocations: 23.98 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.5078, allocations: 3.984 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.5078, allocations: 11.94 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.848e-05/0.5079, allocations: 34.2 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5079, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5079, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5079, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 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.0003786/0.5083, allocations: 351.4 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5084, allocations: 12.03 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.5084, allocations: 30.75 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.5085, allocations: 0.9375 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.5086, allocations: 180.2 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.5086, allocations: 384 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.5086, allocations: 384 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5088, allocations: 54.23 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.5088, allocations: 7.875 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.5088, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.5088, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.509, allocations: 35.95 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.5093, allocations: 245 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.5094, allocations: 38.5 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.5095, allocations: 28.89 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.5095, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.5095, allocations: 34.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.5096, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000306/0.5099, allocations: 81.64 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.5099, allocations: 51.41 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/0.51, allocations: 97.86 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.51, allocations: 25.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.51, allocations: 88.12 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.5101, allocations: 7.969 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.5101, allocations: 21.72 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.5102, allocations: 310.8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.5103, allocations: 11.98 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.5103, allocations: 23.91 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.5105, allocations: 40.89 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5105, allocations: 7.938 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001693/0.5107, allocations: 65.66 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.5107, allocations: 6.031 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.5107, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.5107, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.5108, allocations: 11.98 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5108, allocations: 3.984 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.5109, allocations: 15.88 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.5109, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 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 6.442e-05/0.5109, allocations: 126.2 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.511, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.5112, allocations: 76.72 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5112, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5112, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5112, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.5114, allocations: 165.6 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5114, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.5114, allocations: 11.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5114, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.5115, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5115, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5115, allocations: 240 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.5117, allocations: 179.4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.5117, allocations: 77.11 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.5118, allocations: 3.984 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.5118, allocations: 8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.5119, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.5119, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.5119, allocations: 79.28 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5119, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002077/0.5121, allocations: 11.91 kB / 1.021 GB, free: 13.93 MB / 0.7794 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.0004316/0.5126, allocations: 0.7007 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.5128, allocations: 39.95 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5128, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.5129, allocations: 27.91 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5131, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.5135, allocations: 148.4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.5137, allocations: 0.6768 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.5137, allocations: 4 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.5138, allocations: 7.438 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5138, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.265/1.779, allocations: 1.217 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.779, allocations: 221 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/3.813, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches