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.001131/0.001131, 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.001308/0.001308, 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.519/2.519, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5657, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002413/0.5681, allocations: 1.283 MB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1236/0.6917, allocations: 132 MB / 1.148 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.6917, allocations: 0 / 1.148 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.6918, allocations: 8 kB / 1.148 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.6919, allocations: 7.922 kB / 1.148 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.6922, allocations: 55.73 kB / 1.148 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.6923, allocations: 23.86 kB / 1.148 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.6923, allocations: 4 kB / 1.148 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.6923, allocations: 4 kB / 1.148 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.6924, allocations: 15.92 kB / 1.148 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.6924, allocations: 4 kB / 1.148 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.6925, allocations: 8 kB / 1.148 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.6925, allocations: 11.98 kB / 1.148 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.6926, allocations: 15.86 kB / 1.148 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 9.304e-05/0.6927, allocations: 22.23 kB / 1.148 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6927, allocations: 0 / 1.148 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6927, allocations: 0 / 1.148 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.6927, allocations: 0 / 1.148 GB, free: 12.48 MB / 0.9044 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.00037/0.6931, allocations: 335.4 kB / 1.148 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6931, allocations: 8.031 kB / 1.148 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.6932, allocations: 30.75 kB / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.6932, allocations: 12.92 kB / 1.148 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.6933, allocations: 160.4 kB / 1.148 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.6934, allocations: 34.2 kB / 1.148 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.6934, allocations: 4.375 kB / 1.148 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.6935, allocations: 45.98 kB / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6935, allocations: 0 / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.6935, allocations: 3.938 kB / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6936, allocations: 0 / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.6936, allocations: 19.92 kB / 1.148 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.6938, allocations: 161.6 kB / 1.149 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.6939, allocations: 30.61 kB / 1.149 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.694, allocations: 8.859 kB / 1.149 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.6941, allocations: 93.19 kB / 1.149 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.6941, allocations: 34.5 kB / 1.149 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.6941, allocations: 4 kB / 1.149 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000221/0.6944, allocations: 61.61 kB / 1.149 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.6944, allocations: 51.41 kB / 1.149 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.6945, allocations: 93.86 kB / 1.149 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.6945, allocations: 25.7 kB / 1.149 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.6945, allocations: 84.14 kB / 1.149 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.6946, allocations: 15.83 kB / 1.149 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.6946, allocations: 17.72 kB / 1.149 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.6947, allocations: 314.8 kB / 1.149 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.6947, allocations: 4 kB / 1.149 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.6948, allocations: 7.984 kB / 1.149 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.267e-05/0.6949, allocations: 24.84 kB / 1.149 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6949, allocations: 0 / 1.149 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001197/0.695, allocations: 49.62 kB / 1.149 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.695, allocations: 17.97 kB / 1.149 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.695, allocations: 0 / 1.149 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.6951, allocations: 0 / 1.149 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.6951, allocations: 7.984 kB / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.6951, allocations: 0 / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.6952, allocations: 4 kB / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.6952, allocations: 0.5156 kB / 1.149 GB, free: 10.49 MB / 0.9044 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 6.482e-05/0.6952, allocations: 109.8 kB / 1.15 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.6953, allocations: 11.84 kB / 1.15 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.6954, allocations: 65.09 kB / 1.15 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.6954, allocations: 3.938 kB / 1.15 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6955, allocations: 0 / 1.15 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.6955, allocations: 0 / 1.15 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.6956, allocations: 157.7 kB / 1.15 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6956, allocations: 4 kB / 1.15 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.6956, allocations: 8 kB / 1.15 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6956, allocations: 3.938 kB / 1.15 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.6956, allocations: 0 / 1.15 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.6956, allocations: 3.984 kB / 1.15 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6956, allocations: 4 kB / 1.15 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.6958, allocations: 81 kB / 1.15 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.6958, allocations: 85.03 kB / 1.15 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.6959, allocations: 0 / 1.15 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.792e-05/0.6959, allocations: 4 kB / 1.15 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.6959, allocations: 0 / 1.15 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.6959, allocations: 0 / 1.15 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.696, allocations: 87.28 kB / 1.15 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/0.696, allocations: 0 / 1.15 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001907/0.6962, allocations: 11.98 kB / 1.15 GB, free: 9.754 MB / 0.9044 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.0004027/0.6966, allocations: 0.6241 MB / 1.151 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.6967, allocations: 23.92 kB / 1.151 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6967, allocations: 4 kB / 1.151 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.6968, allocations: 11.98 kB / 1.151 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.697, allocations: 4 kB / 1.151 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.6974, allocations: 165.4 kB / 1.151 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.6976, allocations: 0.6768 MB / 1.152 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.6977, allocations: 7.984 kB / 1.152 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.6977, allocations: 11.44 kB / 1.152 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.6977, allocations: 0 / 1.152 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.7141, allocations: 1.339 MB / 1.153 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.743, allocations: 11.83 kB / 1.153 GB, free: 6.883 MB / 0.9044 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