Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Examples.Density_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_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.005757/0.005757, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001574/0.001574, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.701, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002867/0.7039, allocations: 1.503 MB / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1567/0.8606, allocations: 132.1 MB / 1.351 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.8607, allocations: 4 kB / 1.351 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.8608, allocations: 3.938 kB / 1.351 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.8609, allocations: 15.84 kB / 1.351 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.8613, allocations: 59.72 kB / 1.351 GB, free: 11.87 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.8614, allocations: 59.73 kB / 1.351 GB, free: 11.81 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8615, allocations: 19.97 kB / 1.351 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.067e-05/0.8616, allocations: 15.98 kB / 1.351 GB, free: 11.78 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.8617, allocations: 27.86 kB / 1.351 GB, free: 11.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.8617, allocations: 4 kB / 1.351 GB, free: 11.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.8618, allocations: 19.98 kB / 1.351 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.8618, allocations: 4 kB / 1.351 GB, free: 11.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.8619, allocations: 27.86 kB / 1.351 GB, free: 11.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.862, allocations: 59.39 kB / 1.351 GB, free: 11.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.8621, allocations: 4 kB / 1.351 GB, free: 11.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8621, allocations: 0 / 1.351 GB, free: 11.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.8621, allocations: 0 / 1.351 GB, free: 11.64 MB / 1.076 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.0005988/0.8627, allocations: 379.2 kB / 1.351 GB, free: 11.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.8627, allocations: 8.031 kB / 1.351 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.8628, allocations: 34.75 kB / 1.351 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.8628, allocations: 4.938 kB / 1.351 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.863, allocations: 176.2 kB / 1.351 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.863, allocations: 384 / 1.351 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.863, allocations: 4.375 kB / 1.351 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.8633, allocations: 78.2 kB / 1.352 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.8633, allocations: 3.938 kB / 1.352 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.8633, allocations: 4 kB / 1.352 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8633, allocations: 0 / 1.352 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.8637, allocations: 63.92 kB / 1.352 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.8641, allocations: 292.7 kB / 1.352 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.8643, allocations: 54.55 kB / 1.352 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.8645, allocations: 36.91 kB / 1.352 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.8647, allocations: 89.09 kB / 1.352 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.8647, allocations: 38.56 kB / 1.352 GB, free: 10.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.8647, allocations: 3.938 kB / 1.352 GB, free: 10.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005853/0.8653, allocations: 137.5 kB / 1.352 GB, free: 10.06 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.8654, allocations: 59.39 kB / 1.352 GB, free: 9.988 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.8655, allocations: 117.8 kB / 1.352 GB, free: 9.863 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.8655, allocations: 29.7 kB / 1.352 GB, free: 9.828 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.8656, allocations: 88.14 kB / 1.353 GB, free: 9.738 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.8656, allocations: 7.891 kB / 1.353 GB, free: 9.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.8657, allocations: 17.7 kB / 1.353 GB, free: 9.707 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8658, allocations: 318.8 kB / 1.353 GB, free: 9.387 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.866, allocations: 39.95 kB / 1.353 GB, free: 9.348 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.8661, allocations: 31.97 kB / 1.353 GB, free: 9.316 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.8665, allocations: 72.72 kB / 1.353 GB, free: 9.242 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8665, allocations: 0 / 1.353 GB, free: 9.242 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003521/0.8668, allocations: 101.6 kB / 1.353 GB, free: 9.137 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.8669, allocations: 4 kB / 1.353 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.8669, allocations: 0 / 1.353 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.8669, allocations: 0 / 1.353 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.867, allocations: 19.97 kB / 1.353 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.867, allocations: 0 / 1.353 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.8671, allocations: 11.98 kB / 1.353 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.8671, allocations: 4 kB / 1.353 GB, free: 9.098 MB / 1.076 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 8.974e-05/0.8672, allocations: 117.8 kB / 1.353 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.8672, allocations: 3.953 kB / 1.353 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.8677, allocations: 109.5 kB / 1.353 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8677, allocations: 0 / 1.353 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8677, allocations: 8 kB / 1.353 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8677, allocations: 0 / 1.353 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.8679, allocations: 173.6 kB / 1.354 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8679, allocations: 0 / 1.354 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.868, allocations: 15.98 kB / 1.354 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.868, allocations: 0 / 1.354 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.868, allocations: 3.984 kB / 1.354 GB, free: 8.598 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.868, allocations: 0 / 1.354 GB, free: 8.598 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.868, allocations: 0 / 1.354 GB, free: 8.598 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.8685, allocations: 203.4 kB / 1.354 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.8685, allocations: 81.06 kB / 1.354 GB, free: 8.285 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.8685, allocations: 0 / 1.354 GB, free: 8.285 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.8687, allocations: 15.97 kB / 1.354 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.8687, allocations: 7.938 kB / 1.354 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.8687, allocations: 8 kB / 1.354 GB, free: 8.254 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.8688, allocations: 95.64 kB / 1.354 GB, free: 8.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8688, allocations: 0 / 1.354 GB, free: 8.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002405/0.8691, allocations: 19.88 kB / 1.354 GB, free: 8.141 MB / 1.076 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.0007465/0.8698, allocations: 0.7406 MB / 1.355 GB, free: 7.375 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.8702, allocations: 75.89 kB / 1.355 GB, free: 7.301 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.8702, allocations: 0 / 1.355 GB, free: 7.301 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.8704, allocations: 35.97 kB / 1.355 GB, free: 7.266 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.8707, allocations: 21.7 kB / 1.355 GB, free: 7.246 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.8727, allocations: 1.424 MB / 1.356 GB, free: 5.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.8731, allocations: 0.6845 MB / 1.357 GB, free: 5.039 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.917e-05/0.8731, allocations: 7.969 kB / 1.357 GB, free: 5.031 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.8732, allocations: 19.44 kB / 1.357 GB, free: 5.012 MB / 1.076 GB Notification: Performance of SimCode: time 2.51e-07/0.8732, allocations: 0 / 1.357 GB, free: 5.012 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.8959, allocations: 2.06 MB / 1.359 GB, free: 3.043 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.882, allocations: 16.22 kB / 1.359 GB, free: 3.031 MB / 1.076 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches