Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.00134/0.00134, allocations: 108 kB / 15.61 MB, free: 152 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.001288/0.001288, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.779/2.779, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 68.64 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.352, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002504/0.3545, allocations: 1.289 MB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.3555, allocations: 0.5743 MB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.3555, allocations: 4 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.3556, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.3556, allocations: 11.91 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.356, allocations: 91.58 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.3561, allocations: 23.81 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.3561, allocations: 7.984 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.3562, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.3562, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3562, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3565, allocations: 139.8 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.3565, allocations: 3.938 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.3566, allocations: 8 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3568, allocations: 100 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3568, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3568, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3568, allocations: 0 / 1.066 GB, free: 11.94 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004905/0.3573, allocations: 347.5 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3574, allocations: 8.031 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.3574, allocations: 30.75 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.3578, allocations: 28.91 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.358, allocations: 176.2 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.358, allocations: 384 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.358, allocations: 384 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3582, allocations: 46.23 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3582, allocations: 7.875 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3582, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3582, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.3584, allocations: 27.97 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3586, allocations: 157.7 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3587, allocations: 46.52 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.3588, allocations: 24.91 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3589, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.3589, allocations: 30.56 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.565e-06/0.3589, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003036/0.3592, allocations: 77.53 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3593, allocations: 55.53 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.3593, allocations: 101.8 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3594, allocations: 25.7 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.3594, allocations: 80.14 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3594, allocations: 3.906 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3595, allocations: 21.7 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3596, allocations: 314.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.3597, allocations: 15.98 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.3598, allocations: 15.98 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.3599, allocations: 28.78 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3599, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001702/0.3601, allocations: 61.73 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3601, allocations: 11.94 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3601, allocations: 0 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3601, allocations: 3.984 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.3602, allocations: 4 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3602, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.3603, allocations: 11.92 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3603, allocations: 0 / 1.068 GB, free: 9.977 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.279e-05/0.3604, allocations: 109.9 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3604, allocations: 7.938 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3605, allocations: 7.125 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3605, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3605, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3605, allocations: 7.938 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.3606, allocations: 161.6 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3606, allocations: 3.938 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.3607, allocations: 15.98 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3607, allocations: 3.938 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3607, allocations: 3.938 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3607, allocations: 0 / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3607, allocations: 0 / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.3609, allocations: 81.11 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.361, allocations: 85.12 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3611, allocations: 7.938 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.3611, allocations: 0 / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3611, allocations: 3.984 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3611, allocations: 4 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.3612, allocations: 75.28 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3612, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002027/0.3614, allocations: 16 kB / 1.069 GB, free: 9.301 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 (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 Backend phase and start with SimCode phase: time 0.0005732/0.362, allocations: 0.6402 MB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.3622, allocations: 28.02 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3622, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.3623, allocations: 23.91 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3625, allocations: 5.562 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.363, allocations: 148.3 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3633, allocations: 0.6768 MB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.089e-05/0.3634, allocations: 11.94 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.3634, allocations: 7.438 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3634, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7582/1.122, allocations: 1.562 MB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/13.02, allocations: 6.812 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches