Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_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.001114/0.001114, 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.001007/0.001007, allocations: 189.6 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.221/1.221, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.8121 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.5163, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002375/0.5187, allocations: 1.466 MB / 0.9507 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.5192, allocations: 199.1 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.5192, allocations: 1 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.5192, allocations: 0 / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.5193, allocations: 9.406 kB / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.5195, allocations: 24.19 kB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.5196, allocations: 22.08 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.929e-05/0.5197, allocations: 8.5 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.5197, allocations: 10.42 kB / 0.9509 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.5198, allocations: 12.02 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.5198, allocations: 1.469 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.5199, allocations: 33.03 kB / 0.951 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.5199, allocations: 0 / 0.951 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.5199, allocations: 14.53 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.52, allocations: 39.77 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.52, allocations: 0 / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.52, allocations: 0 / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.52, allocations: 0.9062 kB / 0.951 GB, free: 7.742 MB / 0.7169 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.000336/0.5204, allocations: 343.8 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5204, allocations: 8.188 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.403e-05/0.5205, allocations: 36.3 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.5206, allocations: 3.625 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.5206, allocations: 169.8 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.5207, allocations: 4.312 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.5207, allocations: 5.828 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.5208, allocations: 50.23 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5208, allocations: 3.938 kB / 0.9516 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5209, allocations: 3.938 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5209, allocations: 1.281 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.521, allocations: 38.08 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.5213, allocations: 241.8 kB / 0.9519 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5214, allocations: 51.2 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.5215, allocations: 21.97 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.5215, allocations: 9.25 kB / 0.952 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.5215, allocations: 35.75 kB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5215, allocations: 0 / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000302/0.5218, allocations: 79.73 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.5219, allocations: 56.84 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.5219, allocations: 102 kB / 0.9522 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.5219, allocations: 30.98 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.522, allocations: 81.39 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.522, allocations: 5.25 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.522, allocations: 15.34 kB / 0.9523 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.5221, allocations: 312.3 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.5221, allocations: 16.59 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.5222, allocations: 21.23 kB / 0.9527 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.5223, allocations: 36.27 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5223, allocations: 3.938 kB / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001681/0.5225, allocations: 68 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5225, allocations: 5.688 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5225, allocations: 0 / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5226, allocations: 4.094 kB / 0.9528 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.5226, allocations: 10.27 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.5227, allocations: 1.344 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.5227, allocations: 11.27 kB / 0.9528 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5227, allocations: 1.188 kB / 0.9528 GB, free: 5.867 MB / 0.7169 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 4.26e-05/0.5228, allocations: 115.1 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.5228, allocations: 5.344 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.523, allocations: 79.7 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.523, allocations: 1.188 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.523, allocations: 0 / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.523, allocations: 1.094 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.5231, allocations: 158.5 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5231, allocations: 1.125 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.5232, allocations: 14.58 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5232, allocations: 1.344 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.5232, allocations: 4 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5232, allocations: 0 / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5232, allocations: 2.25 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.5234, allocations: 179.4 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.5235, allocations: 78.11 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.5235, allocations: 1.375 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.5235, allocations: 12.59 kB / 0.9534 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.5236, allocations: 5.203 kB / 0.9534 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.5236, allocations: 0 / 0.9534 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.887e-05/0.5236, allocations: 79.59 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5236, allocations: 0 / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002082/0.5238, allocations: 4.25 kB / 0.9535 GB, free: 5.121 MB / 0.7169 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.0003175/0.5242, allocations: 0.7133 MB / 0.9542 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.5243, allocations: 38.55 kB / 0.9543 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5244, allocations: 0 / 0.9543 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.5244, allocations: 24.45 kB / 0.9543 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.5247, allocations: 6 kB / 0.9543 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.5251, allocations: 153.5 kB / 0.9544 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.442e-05/0.5252, allocations: 0.6778 MB / 0.9551 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.5252, allocations: 5.234 kB / 0.9551 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.5252, allocations: 12.7 kB / 0.9551 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.5252, allocations: 4 kB / 0.9551 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/0.6555, allocations: 1.207 MB / 0.9563 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.6557, allocations: 217.3 kB / 0.9565 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.161, allocations: 5.344 kB / 0.9565 GB, free: 2.684 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches