Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_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.001677/0.001677, allocations: 108 kB / 15.61 MB, free: 128 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.001966/0.001966, allocations: 197.4 kB / 16.53 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 65.88 kB / 0.9086 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3172, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002398/0.3197, allocations: 1.421 MB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.3201, allocations: 193.3 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.3201, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.3201, allocations: 3.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.3202, allocations: 11.94 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.3204, allocations: 23.89 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.3205, allocations: 23.88 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.3205, allocations: 7.984 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.3206, allocations: 8 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.551e-05/0.3206, allocations: 15.92 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3206, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.498e-05/0.3207, allocations: 27.98 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.3207, allocations: 3.984 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.3208, allocations: 11.94 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3209, allocations: 36.17 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3209, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3209, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.3209, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 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.0004178/0.3213, allocations: 331.6 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3214, allocations: 11.97 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.3214, allocations: 34.75 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.691e-05/0.3215, allocations: 8.844 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3217, allocations: 172.3 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3217, allocations: 8.359 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3217, allocations: 4.375 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3218, allocations: 50.23 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3219, allocations: 3.938 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3219, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3219, allocations: 3.984 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.322, allocations: 31.97 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.3224, allocations: 252.9 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.3225, allocations: 42.44 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.3226, allocations: 20.91 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3226, allocations: 7.984 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3226, allocations: 34.56 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3227, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003281/0.323, allocations: 89.48 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.323, allocations: 51.41 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.3231, allocations: 97.84 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3231, allocations: 29.83 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.3232, allocations: 84.14 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.3232, allocations: 7.906 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.3232, allocations: 13.7 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3234, allocations: 314.8 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.3234, allocations: 15.98 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.3235, allocations: 15.98 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3237, allocations: 44.88 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3237, allocations: 3.938 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001837/0.3239, allocations: 65.61 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3239, allocations: 9.859 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3239, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3239, allocations: 4.031 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.324, allocations: 8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.324, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.3241, allocations: 7.984 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3241, allocations: 3.938 kB / 1.068 GB, free: 10.31 MB / 0.8262 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 7.456e-05/0.3242, allocations: 113.8 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.3242, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.3244, allocations: 76.77 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3244, allocations: 7.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3244, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3245, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.3246, allocations: 161.6 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3246, allocations: 0 / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.3247, allocations: 8 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3247, allocations: 3.984 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.3247, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3247, allocations: 8 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3247, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.325, allocations: 167.4 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.325, allocations: 77.11 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.325, allocations: 8 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.3251, allocations: 7.922 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.3252, allocations: 8 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3252, allocations: 4 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.3252, allocations: 91.47 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3252, allocations: 0 / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002013/0.3254, allocations: 4 kB / 1.068 GB, free: 9.477 MB / 0.8262 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.0005164/0.326, allocations: 0.6968 MB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.3262, allocations: 43.95 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3262, allocations: 3.938 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.3263, allocations: 15.98 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.3265, allocations: 8 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.3269, allocations: 148.3 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.3272, allocations: 0.6768 MB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.3272, allocations: 4 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.3273, allocations: 11.44 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3273, allocations: 4 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.035/1.362, allocations: 1.337 MB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.76, allocations: 7.484 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches