Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.008763/0.008763, allocations: 96.3 kB / 15.73 MB, free: 6.055 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.002423/0.002423, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.92/2.92, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00326/0.00326, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3221, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002317/0.3244, allocations: 1.274 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000585/0.325, allocations: 285 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.3251, allocations: 4 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.3251, allocations: 0 / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.3251, allocations: 7.922 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.3254, allocations: 43.77 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.839e-05/0.3255, allocations: 31.78 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.3256, allocations: 4 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.3256, allocations: 8 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.3257, allocations: 7.984 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3257, allocations: 3.938 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3258, allocations: 51.95 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.3259, allocations: 7.938 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.3259, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.326, allocations: 47.83 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3261, allocations: 0 / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3261, allocations: 0 / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.3261, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004851/0.3266, allocations: 339.4 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3266, allocations: 12.03 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.3267, allocations: 34.75 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.3269, allocations: 16.92 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.327, allocations: 164.4 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3271, allocations: 384 / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.3271, allocations: 4.375 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.3272, allocations: 38.25 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3272, allocations: 11.94 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3272, allocations: 0 / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3273, allocations: 0 / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.3273, allocations: 19.92 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.3275, allocations: 157.7 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.3295, allocations: 266.5 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.3295, allocations: 24.84 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3295, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3296, allocations: 30.56 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3296, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001869/0.3298, allocations: 73.52 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3298, allocations: 63.34 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.3299, allocations: 89.86 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3299, allocations: 25.7 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.33, allocations: 80.14 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.33, allocations: 27.81 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3301, allocations: 9.719 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3302, allocations: 314.8 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.3303, allocations: 12.12 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.3303, allocations: 11.98 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.097e-05/0.3304, allocations: 28.8 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3304, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.982e-05/0.3305, allocations: 57.62 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3305, allocations: 7.938 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3305, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3305, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.3306, allocations: 8 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3306, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.3306, allocations: 4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3307, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 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 (4): * Single equations (assignments): 4 * 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 9.489e-05/0.3308, allocations: 117.8 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.3308, allocations: 3.938 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.3308, allocations: 11.5 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3308, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3308, allocations: 3.938 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3308, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.331, allocations: 157.7 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.331, allocations: 4 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.331, allocations: 4 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3311, allocations: 3.938 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3311, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.3311, allocations: 4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3311, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.3312, allocations: 85.39 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.3313, allocations: 81.09 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3313, allocations: 11.88 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.3314, allocations: 4 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.3314, allocations: 0 / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.3314, allocations: 0 / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.3315, allocations: 87.2 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3315, allocations: 0 / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001888/0.3317, allocations: 8 kB / 1.224 GB, free: 9.723 MB / 0.9825 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 (4): * Single equations (assignments): 4 * 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.0004453/0.3321, allocations: 0.617 MB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.3322, allocations: 23.92 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3322, allocations: 4 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.3323, allocations: 12 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3325, allocations: 9.703 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.3329, allocations: 168 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3332, allocations: 0.6767 MB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.3333, allocations: 7.984 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.3333, allocations: 11.44 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3333, allocations: 0 / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.3547, allocations: 1.322 MB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.272, allocations: 12.62 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches