Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.008764, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002392/0.002392, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.74/2.74, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002867, allocations: 64.14 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3431, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002356/0.3455, allocations: 1.276 MB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7097/1.055, allocations: 132 MB / 1.296 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/1.055, allocations: 0 / 1.296 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/1.055, allocations: 0.7969 kB / 1.296 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/1.055, allocations: 5.594 kB / 1.296 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/1.056, allocations: 68.62 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/1.056, allocations: 20.28 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/1.056, allocations: 3.812 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/1.056, allocations: 5.328 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/1.056, allocations: 13.17 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/1.056, allocations: 1.375 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/1.056, allocations: 17.19 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/1.056, allocations: 2.688 kB / 1.296 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/1.056, allocations: 9.656 kB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.58e-05/1.056, allocations: 24.77 kB / 1.297 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.056, allocations: 5.188 kB / 1.297 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/1.056, allocations: 0 / 1.297 GB, free: 13.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.087e-06/1.056, allocations: 0 / 1.297 GB, free: 13.92 MB / 1.014 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.0004193/1.057, allocations: 332.5 kB / 1.297 GB, free: 13.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/1.057, allocations: 10.47 kB / 1.297 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/1.057, allocations: 34.81 kB / 1.297 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/1.057, allocations: 7.281 kB / 1.297 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/1.057, allocations: 169.8 kB / 1.297 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/1.057, allocations: 29.33 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/1.057, allocations: 6.109 kB / 1.297 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/1.057, allocations: 46.97 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/1.057, allocations: 1.375 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/1.057, allocations: 0.5156 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/1.057, allocations: 0 / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/1.057, allocations: 11.42 kB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/1.057, allocations: 155.7 kB / 1.297 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.548e-05/1.058, allocations: 33.27 kB / 1.297 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/1.058, allocations: 12.77 kB / 1.297 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/1.058, allocations: 88.61 kB / 1.297 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.058, allocations: 42.91 kB / 1.297 GB, free: 12.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/1.058, allocations: 0 / 1.297 GB, free: 12.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002337/1.058, allocations: 58.61 kB / 1.298 GB, free: 12.85 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/1.058, allocations: 52.16 kB / 1.298 GB, free: 12.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/1.058, allocations: 100 kB / 1.298 GB, free: 12.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/1.058, allocations: 26.64 kB / 1.298 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/1.058, allocations: 80.66 kB / 1.298 GB, free: 12.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/1.058, allocations: 10.69 kB / 1.298 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/1.058, allocations: 16.83 kB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.059, allocations: 312.9 kB / 1.298 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/1.059, allocations: 9.953 kB / 1.298 GB, free: 12.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/1.059, allocations: 10.42 kB / 1.298 GB, free: 12.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.142e-05/1.059, allocations: 25.23 kB / 1.298 GB, free: 12.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.059, allocations: 0.8125 kB / 1.298 GB, free: 12.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00013/1.059, allocations: 51.62 kB / 1.298 GB, free: 12.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.059, allocations: 10.48 kB / 1.298 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.059, allocations: 2.125 kB / 1.298 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/1.059, allocations: 1.188 kB / 1.298 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/1.059, allocations: 9.938 kB / 1.298 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.059, allocations: 1.125 kB / 1.298 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/1.059, allocations: 6.281 kB / 1.298 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/1.059, allocations: 1.125 kB / 1.298 GB, free: 12.18 MB / 1.014 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 (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 prepare postOptimizeDAE: time 7.962e-05/1.059, allocations: 110.6 kB / 1.298 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/1.059, allocations: 9.688 kB / 1.298 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/1.059, allocations: 63.52 kB / 1.298 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.059, allocations: 5.156 kB / 1.298 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.059, allocations: 0 / 1.298 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.059, allocations: 0.7969 kB / 1.298 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/1.059, allocations: 152 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.059, allocations: 1.125 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/1.06, allocations: 6.438 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.06, allocations: 3.938 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.06, allocations: 1.922 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.06, allocations: 0.875 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.06, allocations: 1.188 kB / 1.299 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/1.06, allocations: 84.56 kB / 1.299 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/1.06, allocations: 88.28 kB / 1.299 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/1.06, allocations: 1.094 kB / 1.299 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/1.06, allocations: 2.078 kB / 1.299 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/1.06, allocations: 3.703 kB / 1.299 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/1.06, allocations: 2.75 kB / 1.299 GB, free: 11.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.078e-05/1.06, allocations: 78.77 kB / 1.299 GB, free: 11.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.06, allocations: 4 kB / 1.299 GB, free: 11.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001956/1.06, allocations: 12.56 kB / 1.299 GB, free: 11.57 MB / 1.014 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.0004933/1.061, allocations: 0.6255 MB / 1.299 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000141/1.061, allocations: 21.41 kB / 1.299 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.061, allocations: 5.312 kB / 1.299 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/1.061, allocations: 8.766 kB / 1.299 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/1.061, allocations: 9.297 kB / 1.299 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/1.061, allocations: 155.6 kB / 1.3 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/1.062, allocations: 0.6745 MB / 1.3 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.72e-05/1.062, allocations: 8.516 kB / 1.3 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/1.062, allocations: 10.48 kB / 1.3 GB, free: 10.11 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/1.062, allocations: 0 / 1.3 GB, free: 10.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/1.083, allocations: 1.375 MB / 1.302 GB, free: 9.742 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/9.079, allocations: 4.734 kB / 1.302 GB, free: 9.742 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches