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.007682/0.007682, allocations: 105 kB / 15.74 MB, free: 6.492 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.001922/0.001922, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.346/2.346, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 62.41 kB / 0.9504 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3318, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002919/0.3348, allocations: 1.404 MB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005944/0.3354, allocations: 203.4 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.3355, allocations: 4 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.3356, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.3356, allocations: 7.922 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.3359, allocations: 15.92 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3361, allocations: 35.8 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3362, allocations: 4 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.3363, allocations: 15.97 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.3363, allocations: 15.92 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3363, allocations: 4 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3364, allocations: 23.98 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3365, allocations: 0 / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.3365, allocations: 11.94 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3367, allocations: 44.44 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3367, allocations: 3.938 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3367, allocations: 0 / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3367, allocations: 0 / 1.089 GB, free: 212 kB / 0.8419 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.0005249/0.3372, allocations: 342.4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.3373, allocations: 8.031 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.3373, allocations: 30.75 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3375, allocations: 8.844 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3376, allocations: 168.6 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3376, allocations: 384 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.3377, allocations: 384 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3379, allocations: 54.23 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3379, allocations: 7.922 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3379, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3379, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3381, allocations: 35.91 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.3384, allocations: 245 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3386, allocations: 42.5 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/0.3387, allocations: 24.91 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3387, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3387, allocations: 30.56 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.736e-06/0.3387, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000366/0.3391, allocations: 93.48 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3392, allocations: 51.41 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.3392, allocations: 101.8 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3393, allocations: 25.7 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.3393, allocations: 88.14 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.3393, allocations: 3.906 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.3394, allocations: 9.719 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3395, allocations: 327 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.3396, allocations: 11.98 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.3397, allocations: 15.98 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.3398, allocations: 44.75 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3399, allocations: 7.875 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.3401, allocations: 65.73 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3401, allocations: 7.938 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3401, allocations: 7.984 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3401, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.3402, allocations: 8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3402, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.3403, allocations: 7.984 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3403, allocations: 4.031 kB / 1.091 GB, free: 14.13 MB / 0.8575 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.997e-05/0.3404, allocations: 115.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3404, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.3407, allocations: 80.7 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3407, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3407, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3407, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.3409, allocations: 165.6 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3409, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.3409, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.341, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.341, allocations: 7.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.341, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.341, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3413, allocations: 176.7 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.3413, allocations: 81.11 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3413, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.3414, allocations: 7.984 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3415, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3415, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.3415, allocations: 79.28 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3415, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002185/0.3417, allocations: 8 kB / 1.092 GB, free: 13.31 MB / 0.8575 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.0005293/0.3423, allocations: 0.7045 MB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3425, allocations: 47.89 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3425, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.3426, allocations: 15.98 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3429, allocations: 8.562 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.3434, allocations: 152.3 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3437, allocations: 0.6845 MB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.3437, allocations: 11.94 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.3438, allocations: 11.44 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of SimCode: time 4.5e-07/0.3438, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.3605, allocations: 1.378 MB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.616, allocations: 13.31 kB / 1.095 GB, free: 10.34 MB / 0.8575 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