Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_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.008165/0.008165, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001888/0.001889, allocations: 199.9 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.397/2.397, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 62.44 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.244, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002626/0.2466, allocations: 1.486 MB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.3864, allocations: 132.1 MB / 1.218 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3865, allocations: 0 / 1.218 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.3866, allocations: 7.875 kB / 1.218 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.3867, allocations: 15.86 kB / 1.218 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.387, allocations: 66.53 kB / 1.218 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3872, allocations: 59.72 kB / 1.218 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.3873, allocations: 15.98 kB / 1.218 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.3873, allocations: 15.94 kB / 1.218 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.3874, allocations: 27.89 kB / 1.218 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3874, allocations: 12 kB / 1.218 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.3875, allocations: 11.98 kB / 1.218 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.3875, allocations: 15.94 kB / 1.218 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.3876, allocations: 15.92 kB / 1.218 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3877, allocations: 59.81 kB / 1.218 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3877, allocations: 0 / 1.218 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3877, allocations: 0 / 1.218 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3877, allocations: 0 / 1.218 GB, free: 11.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005243/0.3883, allocations: 380.1 kB / 1.219 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3883, allocations: 8.031 kB / 1.219 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.3883, allocations: 34.73 kB / 1.219 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.3884, allocations: 8.844 kB / 1.219 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3885, allocations: 176.3 kB / 1.219 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.3885, allocations: 384 / 1.219 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3885, allocations: 4.375 kB / 1.219 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3888, allocations: 74.2 kB / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3888, allocations: 3.938 kB / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.3888, allocations: 4 kB / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3888, allocations: 0 / 1.219 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.3892, allocations: 75.86 kB / 1.219 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.3895, allocations: 276.7 kB / 1.219 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3898, allocations: 62.53 kB / 1.219 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.3899, allocations: 40.91 kB / 1.219 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.3901, allocations: 92.98 kB / 1.219 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3901, allocations: 34.55 kB / 1.219 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3902, allocations: 4 kB / 1.219 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000576/0.3907, allocations: 121.6 kB / 1.22 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3908, allocations: 55.41 kB / 1.22 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.3909, allocations: 117.8 kB / 1.22 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3909, allocations: 29.7 kB / 1.22 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.391, allocations: 92.14 kB / 1.22 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.391, allocations: 11.75 kB / 1.22 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.391, allocations: 13.72 kB / 1.22 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3912, allocations: 322.8 kB / 1.22 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3913, allocations: 31.97 kB / 1.22 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.3915, allocations: 39.89 kB / 1.22 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3918, allocations: 68.78 kB / 1.22 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3918, allocations: 0 / 1.22 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003328/0.3921, allocations: 97.91 kB / 1.22 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3922, allocations: 4 kB / 1.22 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3922, allocations: 0 / 1.22 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.3922, allocations: 12.03 kB / 1.22 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3923, allocations: 11.98 kB / 1.22 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3923, allocations: 0 / 1.22 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.3924, allocations: 15.97 kB / 1.22 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3924, allocations: 0 / 1.22 GB, free: 9.086 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 (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.993e-05/0.3925, allocations: 125.7 kB / 1.221 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.3926, allocations: 7.906 kB / 1.221 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.3929, allocations: 101.5 kB / 1.221 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.393, allocations: 4 kB / 1.221 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.393, allocations: 0 / 1.221 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.393, allocations: 0 / 1.221 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3932, allocations: 177.6 kB / 1.221 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3932, allocations: 4 kB / 1.221 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.3933, allocations: 15.98 kB / 1.221 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3933, allocations: 0 / 1.221 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3933, allocations: 3.938 kB / 1.221 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3933, allocations: 0 / 1.221 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3933, allocations: 0 / 1.221 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.3937, allocations: 211.2 kB / 1.221 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.3938, allocations: 81.05 kB / 1.221 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3938, allocations: 0 / 1.221 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3939, allocations: 11.98 kB / 1.221 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.394, allocations: 3.984 kB / 1.221 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.394, allocations: 8 kB / 1.221 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.3941, allocations: 95.64 kB / 1.221 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3941, allocations: 4 kB / 1.221 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002396/0.3943, allocations: 12 kB / 1.221 GB, free: 8.129 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 (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.0006653/0.395, allocations: 0.7396 MB / 1.222 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003434/0.3953, allocations: 67.92 kB / 1.222 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3953, allocations: 0 / 1.222 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.3955, allocations: 39.89 kB / 1.222 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3958, allocations: 16 kB / 1.222 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.3978, allocations: 1.428 MB / 1.223 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.398, allocations: 0.6807 MB / 1.224 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.3981, allocations: 8.312 kB / 1.224 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.3981, allocations: 23.42 kB / 1.224 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3981, allocations: 0 / 1.224 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.4149, allocations: 2.071 MB / 1.226 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.754, allocations: 4.062 kB / 1.226 GB, free: 3.035 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.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_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches