Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Density.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.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Density",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.002301/0.002301, allocations: 108 kB / 15.61 MB, free: 152 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.002581/0.002581, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003026, allocations: 69.98 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2972, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2061/0.5034, allocations: 185 MB / 1.245 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4933/0.9967, allocations: 6.969 MB / 1.252 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009774/0.9978, allocations: 32.84 kB / 1.252 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.9988, allocations: 402.5 kB / 1.252 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/1.002, allocations: 1.449 MB / 1.253 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/1.004, allocations: 1.155 MB / 1.255 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001934/1.006, allocations: 1.942 MB / 1.256 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/1.007, allocations: 0.6557 MB / 1.257 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/1.008, allocations: 0.8211 MB / 1.258 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/1.01, allocations: 0.5964 MB / 1.258 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.711e-05/1.01, allocations: 69.16 kB / 1.259 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/1.013, allocations: 1.928 MB / 1.26 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/1.013, allocations: 291.7 kB / 1.261 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004175/1.013, allocations: 432.6 kB / 1.261 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/1.016, allocations: 1.744 MB / 1.263 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.016, allocations: 1.094 kB / 1.263 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/1.016, allocations: 1.641 kB / 1.263 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.016, allocations: 2.625 kB / 1.263 GB, free: 4.547 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001773/1.018, allocations: 1.156 MB / 1.264 GB, free: 19.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/1.018, allocations: 12.09 kB / 1.264 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/1.018, allocations: 95.53 kB / 1.264 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/1.02, allocations: 270.2 kB / 1.264 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008633/1.021, allocations: 0.5834 MB / 1.265 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/1.021, allocations: 42.03 kB / 1.265 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/1.021, allocations: 55.97 kB / 1.265 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/1.022, allocations: 0.6387 MB / 1.266 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/1.022, allocations: 0 / 1.266 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/1.022, allocations: 22.59 kB / 1.266 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/1.022, allocations: 18.05 kB / 1.266 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008795/1.023, allocations: 0.521 MB / 1.266 GB, free: 19.43 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/1.026, allocations: 2.48 MB / 1.269 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/1.026, allocations: 362.8 kB / 1.269 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/1.027, allocations: 237.1 kB / 1.269 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/1.027, allocations: 309.7 kB / 1.269 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/1.027, allocations: 37.89 kB / 1.269 GB, free: 17.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/1.027, allocations: 3.375 kB / 1.269 GB, free: 17.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001412/1.029, allocations: 0.6171 MB / 1.27 GB, free: 17.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/1.029, allocations: 60.58 kB / 1.27 GB, free: 17.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/1.029, allocations: 0.4948 MB / 1.271 GB, free: 17.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/1.03, allocations: 33.17 kB / 1.271 GB, free: 17.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/1.03, allocations: 327.8 kB / 1.271 GB, free: 17.31 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/1.03, allocations: 141.3 kB / 1.271 GB, free: 17.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/1.03, allocations: 88.19 kB / 1.271 GB, free: 17.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.03, allocations: 368.1 kB / 1.272 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/1.03, allocations: 173.4 kB / 1.272 GB, free: 16.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/1.031, allocations: 285.3 kB / 1.272 GB, free: 16.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/1.032, allocations: 452.1 kB / 1.272 GB, free: 16.69 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.032, allocations: 2.031 kB / 1.272 GB, free: 16.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009001/1.032, allocations: 0.5205 MB / 1.273 GB, free: 16.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.033, allocations: 9 kB / 1.273 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.033, allocations: 5.484 kB / 1.273 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.033, allocations: 4.75 kB / 1.273 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/1.033, allocations: 131.8 kB / 1.273 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004051/1.034, allocations: 0.5967 MB / 1.274 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/1.034, allocations: 53.67 kB / 1.274 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/1.034, allocations: 19.05 kB / 1.274 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005353/1.035, allocations: 352.8 kB / 1.274 GB, free: 15.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004078/1.035, allocations: 287 kB / 1.274 GB, free: 15.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007507/1.036, allocations: 449.9 kB / 1.275 GB, free: 15.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/1.036, allocations: 1.688 kB / 1.275 GB, free: 15.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00105/1.037, allocations: 0.5221 MB / 1.275 GB, free: 15.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.037, allocations: 11.16 kB / 1.275 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.037, allocations: 4.844 kB / 1.275 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/1.037, allocations: 5.328 kB / 1.275 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/1.038, allocations: 117 kB / 1.275 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.515e-06/1.038, allocations: 5.984 kB / 1.275 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/1.038, allocations: 42.83 kB / 1.275 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/1.038, allocations: 18.89 kB / 1.275 GB, free: 15.65 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001961/1.039, allocations: 207.3 kB / 1.276 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/1.039, allocations: 65.34 kB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/1.04, allocations: 490.8 kB / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.04, allocations: 4.812 kB / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.04, allocations: 1.125 kB / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008509/1.04, allocations: 0.7062 MB / 1.277 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.042, allocations: 1.287 MB / 1.278 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.042, allocations: 2.875 kB / 1.278 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/1.043, allocations: 125.7 kB / 1.278 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/1.043, allocations: 3 kB / 1.278 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/1.043, allocations: 14.14 kB / 1.278 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003562/1.043, allocations: 0.595 MB / 1.279 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.043, allocations: 2.844 kB / 1.279 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/1.045, allocations: 0.7897 MB / 1.28 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/1.045, allocations: 186.9 kB / 1.28 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/1.045, allocations: 15 kB / 1.28 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/1.045, allocations: 23.52 kB / 1.28 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/1.045, allocations: 28.34 kB / 1.28 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.045, allocations: 18.72 kB / 1.28 GB, free: 13.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003721/1.046, allocations: 350.8 kB / 1.28 GB, free: 13.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.032e-06/1.046, allocations: 0.9688 kB / 1.28 GB, free: 13.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009419/1.047, allocations: 359.9 kB / 1.281 GB, free: 13.48 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/1.049, allocations: 1.452 MB / 1.282 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001464/1.05, allocations: 0.7133 MB / 1.283 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.05, allocations: 1.938 kB / 1.283 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004176/1.051, allocations: 220.4 kB / 1.283 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/1.052, allocations: 364.8 kB / 1.283 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/1.059, allocations: 5.128 MB / 1.288 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/1.059, allocations: 0.9457 MB / 1.289 GB, free: 9.934 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007091/1.06, allocations: 205.5 kB / 1.289 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/1.06, allocations: 227.2 kB / 1.29 GB, free: 9.898 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.06, allocations: 0 / 1.29 GB, free: 9.898 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/1.103, allocations: 17.7 MB / 1.307 GB, free: 8.527 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.67, allocations: 8.297 kB / 1.307 GB, free: 8.523 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.Density_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Density_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches