Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_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.007376/0.007376, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001612/0.001612, allocations: 192.1 kB / 16.67 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.401/1.401, 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 12.0.0-master/package.mo): time 2.947/2.947, allocations: 472.7 MB / 0.7453 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 60.14 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3083, allocations: 159.9 MB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00266/0.311, allocations: 1.513 MB / 1.227 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7134/1.024, allocations: 132.1 MB / 1.356 GB, free: 5.543 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/1.024, allocations: 1.312 kB / 1.356 GB, free: 5.543 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/1.024, allocations: 8.641 kB / 1.356 GB, free: 5.535 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/1.025, allocations: 10.53 kB / 1.356 GB, free: 5.527 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/1.025, allocations: 64.83 kB / 1.356 GB, free: 5.496 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.474e-05/1.025, allocations: 55.92 kB / 1.356 GB, free: 5.469 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/1.025, allocations: 13.73 kB / 1.356 GB, free: 5.465 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.075e-05/1.025, allocations: 18.3 kB / 1.356 GB, free: 5.461 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/1.025, allocations: 29.66 kB / 1.356 GB, free: 5.445 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/1.025, allocations: 8.25 kB / 1.356 GB, free: 5.441 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/1.025, allocations: 16.88 kB / 1.356 GB, free: 5.438 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/1.025, allocations: 7.531 kB / 1.356 GB, free: 5.434 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/1.025, allocations: 29 kB / 1.356 GB, free: 5.414 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/1.026, allocations: 53.39 kB / 1.356 GB, free: 5.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.026, allocations: 3.938 kB / 1.356 GB, free: 5.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/1.026, allocations: 0 / 1.356 GB, free: 5.395 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.728e-06/1.026, allocations: 1.188 kB / 1.356 GB, free: 5.395 MB / 1.061 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.0004879/1.026, allocations: 376.9 kB / 1.356 GB, free: 5.016 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.026, allocations: 10.14 kB / 1.356 GB, free: 5.016 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/1.026, allocations: 36.77 kB / 1.356 GB, free: 4.973 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/1.026, allocations: 4.375 kB / 1.356 GB, free: 4.973 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/1.026, allocations: 176.2 kB / 1.356 GB, free: 4.766 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/1.026, allocations: 1.75 kB / 1.356 GB, free: 4.766 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/1.026, allocations: 2.781 kB / 1.357 GB, free: 4.766 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/1.027, allocations: 78.11 kB / 1.357 GB, free: 4.723 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.027, allocations: 7.938 kB / 1.357 GB, free: 4.715 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/1.027, allocations: 1.469 kB / 1.357 GB, free: 4.715 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/1.027, allocations: 0 / 1.357 GB, free: 4.715 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/1.027, allocations: 70.8 kB / 1.357 GB, free: 4.703 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/1.027, allocations: 281.5 kB / 1.357 GB, free: 4.414 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/1.028, allocations: 60.33 kB / 1.357 GB, free: 4.379 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/1.028, allocations: 40.97 kB / 1.357 GB, free: 4.363 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/1.028, allocations: 89.8 kB / 1.357 GB, free: 4.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.028, allocations: 34.56 kB / 1.357 GB, free: 4.227 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 2.575e-06/1.028, allocations: 1.25 kB / 1.357 GB, free: 4.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005552/1.029, allocations: 138 kB / 1.357 GB, free: 4.172 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/1.029, allocations: 51.41 kB / 1.357 GB, free: 4.109 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/1.029, allocations: 117.7 kB / 1.357 GB, free: 4.004 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/1.029, allocations: 25.7 kB / 1.357 GB, free: 3.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/1.029, allocations: 92.41 kB / 1.358 GB, free: 3.883 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/1.029, allocations: 9.641 kB / 1.358 GB, free: 3.875 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/1.029, allocations: 13.62 kB / 1.358 GB, free: 3.859 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.029, allocations: 322 kB / 1.358 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/1.029, allocations: 32.25 kB / 1.358 GB, free: 3.535 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/1.029, allocations: 35.73 kB / 1.358 GB, free: 3.527 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/1.03, allocations: 71.98 kB / 1.358 GB, free: 3.508 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.03, allocations: 3.938 kB / 1.358 GB, free: 3.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003351/1.03, allocations: 107.3 kB / 1.358 GB, free: 3.453 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.03, allocations: 5.469 kB / 1.358 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.03, allocations: 0 / 1.358 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.03, allocations: 1.703 kB / 1.358 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/1.03, allocations: 16.84 kB / 1.358 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/1.03, allocations: 1 kB / 1.358 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/1.03, allocations: 15.75 kB / 1.358 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/1.03, allocations: 0.6562 kB / 1.358 GB, free: 3.449 MB / 1.061 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.21e-05/1.03, allocations: 121.8 kB / 1.358 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/1.03, allocations: 6.672 kB / 1.358 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/1.031, allocations: 110.4 kB / 1.358 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.031, allocations: 0 / 1.358 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.031, allocations: 0 / 1.358 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/1.031, allocations: 2.531 kB / 1.358 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/1.031, allocations: 176 kB / 1.359 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.031, allocations: 0 / 1.359 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/1.031, allocations: 17.08 kB / 1.359 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.031, allocations: 0.5156 kB / 1.359 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/1.031, allocations: 0 / 1.359 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.031, allocations: 3.5 kB / 1.359 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.031, allocations: 0 / 1.359 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/1.031, allocations: 202 kB / 1.359 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/1.031, allocations: 84.78 kB / 1.359 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/1.032, allocations: 0 / 1.359 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/1.032, allocations: 11.69 kB / 1.359 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/1.032, allocations: 8.484 kB / 1.359 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/1.032, allocations: 1.25 kB / 1.359 GB, free: 2.805 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.965e-05/1.032, allocations: 95.5 kB / 1.359 GB, free: 2.723 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 1.359 GB, free: 2.723 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002367/1.032, allocations: 15.88 kB / 1.359 GB, free: 2.719 MB / 1.061 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.0006702/1.033, allocations: 0.7475 MB / 1.36 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000341/1.033, allocations: 71.48 kB / 1.36 GB, free: 2.023 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.033, allocations: 0 / 1.36 GB, free: 2.023 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/1.033, allocations: 35.27 kB / 1.36 GB, free: 2.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/1.034, allocations: 17.69 kB / 1.36 GB, free: 2.012 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.035, allocations: 1.429 MB / 1.361 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/1.036, allocations: 0.6813 MB / 1.362 GB, free: 84 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.923e-05/1.036, allocations: 7.641 kB / 1.362 GB, free: 80 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/1.036, allocations: 19.5 kB / 1.362 GB, free: 64 kB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.036, allocations: 3.938 kB / 1.362 GB, free: 60 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/1.057, allocations: 2.068 MB / 1.364 GB, free: 15.65 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/8.551, allocations: 12.66 kB / 1.364 GB, free: 15.65 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches