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.001101/0.001101, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.401/2.401, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5177, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002539/0.5203, allocations: 1.4 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004359/0.5208, allocations: 207.5 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.5208, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.5209, allocations: 3.938 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.507e-05/0.5209, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.5211, allocations: 31.89 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.532e-05/0.5212, allocations: 19.88 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.5213, allocations: 15.92 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.5213, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.515e-05/0.5214, allocations: 19.92 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.5214, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.5215, allocations: 27.97 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.5215, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.5215, allocations: 15.92 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.5216, allocations: 34.16 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5216, allocations: 4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5216, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5216, allocations: 0 / 1.019 GB, free: 0.6719 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.0003731/0.522, allocations: 343.4 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5221, allocations: 12.03 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.5221, allocations: 38.67 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.5222, allocations: 4.938 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.5223, allocations: 168.3 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.5223, allocations: 4.375 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.5224, allocations: 4.375 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.5225, allocations: 50.28 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.5225, allocations: 3.938 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.5226, allocations: 8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5226, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.5227, allocations: 27.97 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.523, allocations: 253 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.5232, allocations: 42.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.5233, allocations: 20.84 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.5233, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5233, allocations: 34.55 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5233, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003285/0.5236, allocations: 77.75 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.5237, allocations: 55.39 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.5237, allocations: 101.9 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.5238, allocations: 25.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.5238, allocations: 80.14 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.5238, allocations: 7.906 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.5239, allocations: 17.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.524, allocations: 310.8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.524, allocations: 23.95 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.5241, allocations: 15.98 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.5243, allocations: 40.81 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5243, allocations: 3.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001929/0.5245, allocations: 69.72 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5245, allocations: 8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5245, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5245, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.5246, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5246, allocations: 3.984 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.5247, allocations: 15.78 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.5247, allocations: 4 kB / 1.021 GB, free: 14.59 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.041e-05/0.5248, allocations: 121.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.5248, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.525, allocations: 76.77 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5251, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5251, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5251, allocations: 240 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.5252, allocations: 161.6 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5252, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.5253, allocations: 15.98 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5253, allocations: 3.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.5253, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5253, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5253, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.5256, allocations: 171.5 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.5256, allocations: 77.11 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.5256, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.5257, allocations: 7.984 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.5258, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.5258, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.5258, allocations: 87.27 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5258, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002233/0.526, allocations: 7.906 kB / 1.022 GB, free: 13.75 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.0004407/0.5265, allocations: 0.7007 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.5267, allocations: 35.95 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5267, allocations: 8.062 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.5268, allocations: 19.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.5271, allocations: 4.547 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.5275, allocations: 142.7 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.5277, allocations: 0.6768 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.5277, allocations: 8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.5278, allocations: 7.438 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5278, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.082/1.609, allocations: 1.337 MB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/9.938, allocations: 7.938 kB / 1.025 GB, free: 10.84 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