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.00131/0.00131, 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.001208/0.001208, allocations: 192.9 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.8/2.8, allocations: 469.8 MB / 0.7421 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 81.75 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002756/0.3199, allocations: 1.468 MB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000448/0.3203, allocations: 207.4 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.3204, allocations: 4 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.3204, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.3205, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3207, allocations: 27.89 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.3208, allocations: 23.88 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.3209, allocations: 11.92 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.3209, allocations: 8 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.321, allocations: 15.92 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.321, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.3211, allocations: 31.98 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.3211, allocations: 3.938 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.3211, allocations: 15.92 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.3212, allocations: 32.17 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3213, allocations: 4 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3213, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3213, allocations: 0 / 1.065 GB, free: 12.71 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.0004652/0.3217, allocations: 331.6 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3218, allocations: 15.97 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.3218, allocations: 38.75 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.3219, allocations: 12.84 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3221, allocations: 164.3 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3221, allocations: 384 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3221, allocations: 8.359 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3223, allocations: 46.23 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3223, allocations: 3.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3223, allocations: 4 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3223, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.3225, allocations: 35.91 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.3229, allocations: 249 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.323, allocations: 38.5 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.3231, allocations: 24.91 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.3231, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3231, allocations: 30.56 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/0.3231, allocations: 4 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000333/0.3235, allocations: 81.48 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3235, allocations: 55.53 kB / 1.066 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.3236, allocations: 105.8 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3236, allocations: 25.7 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.3237, allocations: 84.14 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3237, allocations: 3.906 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3237, allocations: 17.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3239, allocations: 314.8 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.324, allocations: 11.98 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.324, allocations: 19.98 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3242, allocations: 48.75 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3242, allocations: 3.938 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001787/0.3244, allocations: 57.67 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3244, allocations: 20.02 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3244, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3244, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.3245, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3245, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.3246, allocations: 7.984 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3246, allocations: 7.938 kB / 1.067 GB, free: 10.64 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 8.431e-05/0.3247, allocations: 109.8 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.3247, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.325, allocations: 92.88 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.325, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.325, allocations: 4 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.325, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.3252, allocations: 165.6 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3252, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.3252, allocations: 8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3252, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3253, allocations: 3.984 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3253, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3253, allocations: 7.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.3255, allocations: 175.3 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.3256, allocations: 77.11 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3256, allocations: 4 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.3257, allocations: 7.984 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.3257, allocations: 4 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.3257, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.3258, allocations: 87.27 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3258, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002177/0.326, allocations: 4 kB / 1.068 GB, free: 9.805 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.0005343/0.3265, allocations: 0.6974 MB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3267, allocations: 43.89 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3268, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.3268, allocations: 24.05 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3271, allocations: 8.281 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.3276, allocations: 156.2 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3279, allocations: 0.6807 MB / 1.069 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.3279, allocations: 4 kB / 1.069 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.3279, allocations: 11.44 kB / 1.069 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3279, allocations: 3.938 kB / 1.069 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.227/2.555, allocations: 1.208 MB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/2.556, allocations: 231.6 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/4.187, allocations: 11.94 kB / 1.071 GB, free: 6.77 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