Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_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.001483/0.001483, allocations: 108 kB / 15.6 MB, free: 132 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.00231/0.00231, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6647 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.89 kB / 0.8126 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5495, allocations: 140.4 MB / 0.9497 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001922/0.5514, allocations: 1.269 MB / 0.951 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1281/0.6795, allocations: 132 MB / 1.08 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.6796, allocations: 0 / 1.08 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.6797, allocations: 3.938 kB / 1.08 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.6797, allocations: 3.938 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.6801, allocations: 59.7 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.6801, allocations: 19.88 kB / 1.08 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.6802, allocations: 0 / 1.08 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.6802, allocations: 19.92 kB / 1.08 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.6803, allocations: 8 kB / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.6803, allocations: 0 / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.6804, allocations: 15.98 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.6804, allocations: 3.938 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.6804, allocations: 8 kB / 1.08 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.6805, allocations: 30.16 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6806, allocations: 0 / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6806, allocations: 0 / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.6806, allocations: 4 kB / 1.08 GB, free: 11.8 MB / 0.8419 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.0003404/0.6809, allocations: 339.4 kB / 1.08 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.681, allocations: 12.03 kB / 1.08 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.681, allocations: 30.75 kB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.681, allocations: 8.938 kB / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.6811, allocations: 160.4 kB / 1.081 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.6812, allocations: 34.19 kB / 1.081 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.6812, allocations: 4.375 kB / 1.081 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.6813, allocations: 38 kB / 1.081 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.6813, allocations: 0 / 1.081 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.6814, allocations: 11.98 kB / 1.081 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6814, allocations: 4 kB / 1.081 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.6814, allocations: 4 kB / 1.081 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.6816, allocations: 157.7 kB / 1.081 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.827e-05/0.6817, allocations: 38.55 kB / 1.081 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.6817, allocations: 8.859 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.6819, allocations: 97.19 kB / 1.081 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.6819, allocations: 34.5 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.6819, allocations: 0 / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000221/0.6822, allocations: 65.52 kB / 1.081 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.6822, allocations: 51.41 kB / 1.081 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.6823, allocations: 101.8 kB / 1.081 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.6823, allocations: 29.7 kB / 1.081 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.6823, allocations: 80.14 kB / 1.081 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.6823, allocations: 7.844 kB / 1.081 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.6824, allocations: 21.66 kB / 1.081 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.6825, allocations: 314.8 kB / 1.082 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.6825, allocations: 15.98 kB / 1.082 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.6826, allocations: 4 kB / 1.082 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.6827, allocations: 24.84 kB / 1.082 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6827, allocations: 0 / 1.082 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001262/0.6828, allocations: 49.69 kB / 1.082 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6828, allocations: 8.875 kB / 1.082 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6828, allocations: 3.984 kB / 1.082 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.6828, allocations: 0.5156 kB / 1.082 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.6829, allocations: 11.94 kB / 1.082 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6829, allocations: 0 / 1.082 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.683, allocations: 0 / 1.082 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.683, allocations: 4 kB / 1.082 GB, free: 9.801 MB / 0.8419 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 5.643e-05/0.683, allocations: 113.8 kB / 1.082 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.6831, allocations: 7.844 kB / 1.082 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.6832, allocations: 57.16 kB / 1.082 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6832, allocations: 4 kB / 1.082 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6832, allocations: 0 / 1.082 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6832, allocations: 0 / 1.082 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.401e-05/0.6833, allocations: 153.7 kB / 1.082 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6833, allocations: 0 / 1.082 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.6834, allocations: 11.98 kB / 1.082 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6834, allocations: 3.938 kB / 1.082 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.6834, allocations: 3.938 kB / 1.082 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.6834, allocations: 4 kB / 1.082 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6834, allocations: 0 / 1.082 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.6835, allocations: 69.12 kB / 1.082 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.6836, allocations: 89.03 kB / 1.082 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.6836, allocations: 4 kB / 1.082 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.803e-05/0.6837, allocations: 3.938 kB / 1.082 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.6837, allocations: 8 kB / 1.082 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.6837, allocations: 0 / 1.082 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.6837, allocations: 83.27 kB / 1.082 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.6837, allocations: 0 / 1.082 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000191/0.6839, allocations: 8 kB / 1.082 GB, free: 9.082 MB / 0.8419 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.0003776/0.6843, allocations: 0.6241 MB / 1.083 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.6845, allocations: 23.97 kB / 1.083 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6845, allocations: 0 / 1.083 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/0.6845, allocations: 11.94 kB / 1.083 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.6847, allocations: 19.86 kB / 1.083 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.6851, allocations: 170.6 kB / 1.083 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.6853, allocations: 0.6805 MB / 1.084 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.6854, allocations: 7.953 kB / 1.084 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.6854, allocations: 11.44 kB / 1.084 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.6854, allocations: 0 / 1.084 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.7022, allocations: 1.327 MB / 1.085 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/8.122, allocations: 5.297 kB / 1.085 GB, free: 6.207 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches